On Sat, 23 Mar 2024 23:25:24 +0200
Björn Bidar <[email protected]> wrote:

> Should pactl be used here in the first place and not e.g. the dbus
> interface?

module-dbus-protocol is not in default pulseaudio configuration afaik
(though maybe some distros put it there), and used to give experimental
and deprecation warnings before removal, so might not be a good idea to
rely on even in pulseaudio.

Also, libpulse protocol and "pactl" should work with pipewire (which
tends to replace pulseaudio in distributions), but don't think it has
same dbus interface.

Using libpulse through some kind of FFI might be an option, but can't
imagine it being worth the effort over using pactl for occasional
volume adjustments.


I haven't worked on emms-volume-pulse.el and don't use it personally
(controls via WM hotkeys seem to be suffice), but have maintained
pulseaudio mixer tool and python libpulse wrapper for some years now,
so thought to reply on the general state of these protocols.

-- 
Mike Kazantsev // fraggod.net

Reply via email to