Skip to content

Unexpected output when using -t all flag #75

@kaovilai

Description

@kaovilai

When using the -t all flag with SwitchAudioSource -c, the command returns only the output device instead of showing both input and output devices as expected.

Steps to Reproduce

~/git/dotfiles master*
❯  SwitchAudioSource -c -t input
HD Pro Webcam C920

~/git/dotfiles master*
❯ SwitchAudioSource -c -t all 
FiiO USB DAC K1

~/git/dotfiles master*
❯ SwitchAudioSource -c -t output
FiiO USB DAC K1

Expected Behavior

When using -t all, it should display both the current input device (HD Pro Webcam C920) and the current output device (FiiO USB DAC K1).

Actual Behavior

The -t all flag returns only "FiiO USB DAC K1", which is the same result as -t output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions