mk-fg / python-pulse-control

Python high-level interface and ctypes-based bindings for PulseAudio (libpulse)
https://pypi.org/project/pulsectl/
MIT License
170 stars 36 forks source link

Add base_volume property to sinks and sources #47

Closed tyilo closed 3 years ago

mk-fg commented 3 years ago

Thanks. Looks like it's an alsa volume, which I guess pulseaudio will try to control if possible.

It also seem to be an uint32, not int as is set currently, which I'll fix in a follow-up commit. (although distinction should probably be irrelevant, as value is likely capped at PA_VOLUME_NORM)