When directly targetting a device with the --device flag to toggle its state (or muting/unmuting it), the --source flag is required for sources, but the --sink flag is not equivalently required for sinks. Demonstration:
# For the output / sink device
% ponymix -d alsa_output.pci-0000_00_1b.0.analog-stereo toggle
85
# For the input / source device
% ponymix -d alsa_input.pci-0000_00_1b.0.analog-stereo toggle
ponymix: no match found for device: alsa_input.pci-0000_00_1b.0.analog-stereo
% ponymix --source -d alsa_input.pci-0000_00_1b.0.analog-stereo toggle
36
When directly targetting a device with the
--deviceflag to toggle its state (or muting/unmuting it), the--sourceflag is required for sources, but the--sinkflag is not equivalently required for sinks. Demonstration: