Skip to content

Toggling/muting/unmuting target with --device flag requires --source flag (for sources), but not --sink (for sinks) #31

@SuperFluffy

Description

@SuperFluffy

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions