Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get and set default source or sink #64

Open
ortolot opened this issue May 14, 2021 · 1 comment
Open

Get and set default source or sink #64

ortolot opened this issue May 14, 2021 · 1 comment

Comments

@ortolot
Copy link

ortolot commented May 14, 2021

Hello,

I would find it useful if Pulsemixer were to provide get/set-default-source/sink commands.

It could be useful to support pseudo-IDs like @DEFAULT_SINK@ and @DEFAULT_SOURCE@, or specific options --default-sink/source to specify the default sink and default source for the various commands. I know that when no ID is specified, Pulsemixer acts on the default sink, but something is missing to use the default source.

Regards,

--
Tanguy Ortolo

@ortolot
Copy link
Author

ortolot commented May 14, 2021

Here is an implementation of that: https://git.ortolo.eu/contrib-pulsemixer.git/log/?h=default-sink-source

It implements:

  • a support for --id default-sink and --id default-source;
  • new options --get-default-sink, --get-default-source, --set-default-sink and --set-default-source.

You can merge it with:

git pull https://git.ortolo.eu/git/contrib-pulsemixer.git default-sink-source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant