pw-stick-output
Version:
TypeScript utility for managing PipeWire audio node connections and routing with systemd integration
13 lines • 392 B
JavaScript
export function configHelper(from, to, channels = ['FL', 'FR']) {
return channels.map((ch) => ({
findByid: `${from}_${ch}`,
stickTo: [{ findByid: `${to}_${ch}` }],
ignoreMonitors: true,
ignore: {
'object.path': {
match: /^PulseAudio Volume Control:/,
},
},
}));
}
//# sourceMappingURL=configHelper.js.map