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

Implement Pulse volume control as an API #16

Open
spiralofhope opened this issue Nov 7, 2017 · 1 comment
Open

Implement Pulse volume control as an API #16

spiralofhope opened this issue Nov 7, 2017 · 1 comment

Comments

@spiralofhope
Copy link

From #14 (comment)

Pulse volume control should be implemented through a proper API instead of parsing the output of shell commands as it is implemented now. You could probably fix the display of the Pulse volume easily, but if the output of pactl changes it would break again.

@xi
Copy link

xi commented Nov 10, 2017

PulseAudio recommends using libpulse rather than the dbus API. The way to go is probably the python library pulsectl. It uses libpulse via ctypes and seems to be well maintained. Since it uses libpulse, the interface is also very similar to that of the pactl cli.

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

Successfully merging a pull request may close this issue.

2 participants