
pipewire-alsa is a plugin for pipewire to drop into alsa so that alsa-only clients can speak to it. It's not on by default (so no, not really needed indeed, at least right now). It would be needed if you don't have any puleaudio daemon running (pipewire or otherwise) and no alsa-plugins[pulseaudio].pablo_supertux wrote: For example, there is the USE flag echo-cancel with the description "Enable WebRTC-based echo canceller via media-libs/webrtc-audio-processing". But what does that mean? And is it something that I need/want? I kind of have an idea what it does, but I'm not sure. Then there are the USE flags ffmpeg and fftw. What happens if there remain disabled?
And what about pipewire-alsa? Is this really needed when "sound-server" is enabled and pipewire works as a pulseaudio server? Would I need that? And the same for gstreamer. Why would I need that?
The defaultspablo_supertux wrote:So, which are the most common USE flags that should be enabled?
Code: Select all
media-video/pipewire-1.4.9-r2::gentoo was built with the following:
USE="X bluetooth dbus elogind extra ffmpeg gsettings jack-sdk liblc3 lv2 modemmanager readline sound-server ssl v4l zeroconf -doc -echo-cancel -fftw -flatpak -gstreamer -ieee1394 -jack-client -libcamera -loudness -man -pipewire-alsa -roc (-selinux) (-system-service) (-systemd) -test"
I don't really know, but I can make a guess. Pipewire supports audio filters and I think i has some interface to DSP. I suppose those flags are related to this functionality where you define audio effects in pipewire's configuration and they get applied automagically whenever your audio stream hits a particular node (e.g. the default sink).For example, there is the USE flag echo-cancel with the description "Enable WebRTC-based echo canceller via media-libs/webrtc-audio-processing". But what does that mean? And is it something that I need/want? I kind of have an idea what it does, but I'm not sure. Then there are the USE flags ffmpeg and fftw. What happens if there remain disabled?
It makes pipewire act as a virtual audio device. You're getting an extra "master" volume knob, and I think it also links in pipewire bridging for alsa-only applications.And what about pipewire-alsa? Is this really needed when "sound-server" is enabled and pipewire works as a pulseaudio server?

I don't understand what you mean. USE flags for pipewire? As far as I can see there is no USE flag directly for enabling/disabling pulseaudio in pipewire. Or is this backed in when "sound-server" is selected? And why would anyone want to install pipewire without the sound-server flag?It might be necessary to have at least one of alsa/jack/pa enabled though.

FWIW, the echo canceller is exceedingly useful if you're a Zoom user with external speakers rather than headphones. It filters PC/webcam sound input to remove any output sent to the speakers - otherwise you get echos and/or feedback loops from the PC listening to itself. AFAIR you just need it installed - Zoom then takes care of using it. It probably gets used by other web-based conferencing tools.pablo_supertux wrote:... For example, there is the USE flag echo-cancel with the description "Enable WebRTC-based echo canceller via media-libs/webrtc-audio-processing". But what does that mean? And is it something that I need/want? I kind of have an idea what it does, but I'm not sure. Then there are the USE flags ffmpeg and fftw. What happens if there remain disabled? ...
I enabled this when I was trying to make my laptop handle calls from my phone connected through bluetooth but it didn't work well for me. I needed it to cancel the echo that was happening through the integrated microphone and speakers. I also remember it wasn't a trivial setup. I had to configure sinks and sources and stuff and I didn't like the end result. It was not possible to do what I wanted.pablo_supertux wrote: For example, there is the USE flag echo-cancel with the description "Enable WebRTC-based echo canceller via media-libs/webrtc-audio-processing". But what does that mean? And is it something that I need/want? I kind of have an idea what it does, but I'm not sure.
Not really.Goverp wrote: FWIW, the echo canceller is exceedingly useful if you're a Zoom user with external speakers rather than headphones.
It doesn't do a good job.Goverp wrote: It filters PC/webcam sound input to remove any output sent to the speakers - otherwise you get echos and/or feedback loops from the PC listening to itself.
Not really. AFAIR Zoom handled this by itself. And it's not just being installed. You need to configure sinks and sources and configure them as default devices for it to work, so you most probably got the impression Zoom was using it when it fact it's PW which has to use it.Goverp wrote:AFAIR you just need it installed - Zoom then takes care of using it.
My mileage may vary. I got echoes until I installed the echo canceller, as recommended when I searched the Internet at the time. And AFAIR no configuration needed.logrusx wrote:... Not really. AFAIR Zoom handled this by itself. And it's not just being installed. You need to configure sinks and sources and configure them as default devices for it to work, so you most probably got the impression Zoom was using it when it fact it's PW which has to use it. ...