[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Switch default from PulseAudio to PipeWire (and WirePlumber) for audio



On Thu, 29 Sep 2022 at 14:26:03 +0200, Emanuele Rocca wrote:
> Sound still works fine, but how to do things like changing volume,
> toggling mute, choosing between HDMI and headphones, ...?

Well-integrated desktop environments should have this built in (GNOME
certainly does).

If you're building your own desktop environment from smaller pieces,
then you've taken some of the responsibility for doing the necessary system
integration and finding a combination of components that works together.
Not all of them are necessarily going to come from the same upstream.

> I understand
> that one can still use pavucontrol, but that would essentially mean
> bringing back parts of pulseaudio (at least libpulsedsp, pavucontrol,
> and pulseaudio-utils).

It's fine to control Pipewire via PulseAudio's IPC protocol (that's what
gnome-control-center and gnome-shell do!) and if that doesn't work,
then it means pipewire-pulse is not fully doing its job. Switching to
a different sound server implementation shouldn't require rewriting
every graphical and TUI/CLI mixer/control utility, if the compatibility
layer is good enough.

If you prefer to use CLIs, pw-cli is a low-level CLI for Pipewire, and
wpctl is a somewhat higher-level CLI for Wireplumber; they're analogous
to PulseAudio's pacmd and pactl.

    smcv


Reply to: