wwmm / easyeffects

Limiter, compressor, convolver, equalizer and auto volume and many other plugins for PipeWire applications
GNU General Public License v3.0
6.54k stars 270 forks source link

System wide voice activation #841

Closed TriplEight closed 3 years ago

TriplEight commented 3 years ago

Hello, I didn't find any comprehensive guide on how to set up the mic to cut off my background noises, keyboard clicking, ideally everything which is not voice. Would be cool to have one!

Digitalone1 commented 3 years ago

Hello @TriplEight, there's the WebRTC input plugin where you can set various feature like noise reduction, echo reduction and voice detection.

In the next PulseEffects release there will be an additional new Noise Reduction plugin available for both input and output pipeline.

You can also compile the latest git master to test it or install it from pulseeffects-git on the AUR if you use Arch Linux (install librnnoise before).

wwmm commented 3 years ago

Depending on the noise level you could also use the gate plugin. But based on your requirements the noise reduction plugin mentioned by Digitalone1 will be the better tool.

TriplEight commented 3 years ago

Thank you guys for answering. But it seems the problem with my input starts a bit earlier - I think PulseEffects doesn't see my mic. image It's set to the only input device. And as it's seen from the picture - gnome hears while I'm screaming at my laptop while doing a screenshot, and PulseEffects doesn't seem to.

wwmm commented 3 years ago

You will see activity in PulseEffects meters only when an application is actually recording audio(skype, teams, obs, etc) and you enable effects for it in the Applications section. The one at the top of the plugins list.

TriplEight commented 3 years ago

Thanks, I've enabled "Process all inputs" and tried it with firefox, chromium and telegram with voice recording. Now I've seen moving graph on the top in PulseEffects, but no input in the Gate or Webrtc tools turned on. And changing the settings was not affecting the recorded sound.

wwmm commented 3 years ago

Then something is wrong. Kill the current PulseEffects instance pulseeffects -q and restart it in debug mode G_MESSAGES_DEBUG=pulseeffects pulseeffects. This way we will see if there are errors.

TriplEight commented 3 years ago

ok, that was easy! (pulseeffects:1074796): pulseeffects-CRITICAL **: 18:23:26.541: pulse_manager: failed to move source output Firefox, idx = to PE

wwmm commented 3 years ago

Usually when this error happens there is an identification number after idx =. It is also strange seeing it happening with Firefox. There are applications that set a Pulseaudio flags the do not allow third party applications to process its output or input. But as far as I remember Firefox is no one of them. Show the whole log here. Maybe there is something else that would help to understand what is happening.

TriplEight commented 3 years ago
full log where I poked around with firefox and chromium ``` (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.595: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.595: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects/input (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.595: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects/output (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.595: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects/autoload (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.596: application: PE version: 4.7.1 (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.597: pulse_manager: context is connecting (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.597: pulse_manager: context is authorizing (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.597: pulse_manager: context is setting name (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.598: pulse_manager: context is ready (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.598: pulse_manager: connected to: /run/user/1000/pulse/native (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.598: pulse_manager: protocol version: 33 (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.598: pulse_manager: Pulseaudio version: 13.99.1 (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.598: pulse_manager: default pulseaudio source: alsa_input.pci-0000_00_1f.3.analog-stereo (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.598: pulse_manager: default pulseaudio sink: alsa_output.pci-0000_00_1f.3.analog-stereo (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.598: pulse_manager: loading Pulseeffects applications output sink... (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.598: pulse_manager: default pulseaudio sink sampling rate: 48000 Hz (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.598: pulse_manager: default pulseaudio sink audio format: s16le (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.598: pulse_manager: failed to get sink info: PulseEffects_apps (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.601: pulse_manager: loaded module-null-sink: sink_name=PulseEffects_apps sink_properties=device.description="PulseEffects(apps)"device.class="sound" norewinds=1 (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.601: pulse_manager: loading Pulseeffects microphone output sink... (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.602: pulse_manager: default pulseaudio source sampling rate: 48000 Hz (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.602: pulse_manager: default pulseaudio source audio format: s16le (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.602: pulse_manager: failed to get sink info: PulseEffects_mic (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.608: pulse_manager: loaded module-null-sink: sink_name=PulseEffects_mic sink_properties=device.description="PulseEffects(mic)"device.class="sound" norewinds=1 (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.622: sie: using input device: PulseEffects_apps.monitor (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.622: sie: using output device: alsa_output.pci-0000_00_1f.3.analog-stereo (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.627: sie: limiter is enabled (pulseeffects:1074796): pulseeffects-WARNING **: 18:22:41.627: compressor plugin was not found! (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.629: sie: filter is enabled (pulseeffects:1074796): pulseeffects-WARNING **: 18:22:41.629: equalizer plugin was not found! (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.631: sie: reverb is already disabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.633: sie: bass_enhancer is enabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.634: sie: exciter is already disabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.636: sie: crossfeed is already disabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.637: sie: maximizer is already disabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.640: sie: multiband_compressor is enabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.641: sie: loudness is already disabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.643: sie: gate is already disabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.644: sie: pitch is already disabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.647: sie: multiband_gate is already disabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.649: sie: deesser is already disabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.650: sie: stereo_tools is enabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.652: sie: convolver is already disabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.653: sie: crystalizer is already disabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.654: sie: autogain is already disabled (pulseeffects:1074796): pulseeffects-WARNING **: 18:22:41.654: delay plugin was not found! (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.676: soe: using output device: PulseEffects_mic (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.676: soe: using input device: alsa_input.pci-0000_00_1f.3.analog-stereo (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.677: soe: limiter is already disabled (pulseeffects:1074796): pulseeffects-WARNING **: 18:22:41.677: compressor plugin was not found! (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.677: soe: filter is already disabled (pulseeffects:1074796): pulseeffects-WARNING **: 18:22:41.677: equalizer plugin was not found! (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.678: soe: reverb is already disabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.679: soe: gate is enabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.679: soe: deesser is already disabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.680: soe: pitch is already disabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.683: soe: webrtc is enabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.684: soe: multiband_compressor is already disabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.685: soe: multiband_gate is already disabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.686: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.686: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects/input (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.686: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects/output (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.686: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects/autoload (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.686: presets_manager: destroyed pulseeffects-INFO: 18:22:41.687: application: enabling global bypass (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.687: sie: bypass enabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.688: soe: bypass enabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:41.966: convolver_ui: irs directory already exists: /home/tripleight/.config/PulseEffects/irs (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:42.267: sie: spectrum enabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:42.267: soe: spectrum enabled (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:42.495: sie: total latency: 0 ms (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:42.496: soe: total latency: 0 ms (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:42.789: sie: using output device: alsa_output.pci-0000_00_1f.3.analog-stereo (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:42.789: pulse_settings_ui: output device changed: alsa_output.pci-0000_00_1f.3.analog-stereo (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:42.789: pulse_settings_ui: added sink: alsa_output.pci-0000_00_1f.3.analog-stereo (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:42.789: pulse_settings_ui: added source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:42.789: soe: using input device: alsa_input.pci-0000_00_1f.3.analog-stereo (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:42.789: pulse_settings_ui: input device changed: alsa_input.pci-0000_00_1f.3.analog-stereo (pulseeffects:1074796): pulseeffects-DEBUG: 18:22:42.789: pulse_settings_ui: added source: alsa_input.pci-0000_00_1f.3.analog-stereo (pulseeffects:1074796): pulseeffects-DEBUG: 18:23:24.409: sie: NULL -> READY -> VOID_PENDING (pulseeffects:1074796): pulseeffects-DEBUG: 18:23:24.411: sie: READY -> PAUSED -> PLAYING (pulseeffects:1074796): pulseeffects-DEBUG: 18:23:24.415: sie: pulsesrc latency [us]: 10000 (pulseeffects:1074796): pulseeffects-DEBUG: 18:23:24.415: sie: pulsesrc buffer [us]: 200000 (pulseeffects:1074796): pulseeffects-DEBUG: 18:23:24.415: sie: total latency: 0 ms (pulseeffects:1074796): pulseeffects-DEBUG: 18:23:24.415: sie: sampling rate: 48000 Hz (pulseeffects:1074796): pulseeffects-DEBUG: 18:23:24.418: sie: pulsesink latency [us]: 10000 (pulseeffects:1074796): pulseeffects-DEBUG: 18:23:24.418: sie: pulsesink buffer [us]: 200000 (pulseeffects:1074796): pulseeffects-DEBUG: 18:23:24.418: sie: total latency: 0 ms (pulseeffects:1074796): pulseeffects-DEBUG: 18:23:26.453: peadapter: pulseaudio block size 480 frames (pulseeffects:1074796): pulseeffects-DEBUG: 18:23:26.453: peadapter: we will read in chunks of 512 frames (pulseeffects:1074796): pulseeffects-DEBUG: 18:23:26.464: sie: total latency: 140 ms (pulseeffects:1074796): pulseeffects-DEBUG: 18:23:26.464: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:1074796): pulseeffects-DEBUG: 18:23:26.464: sie: total latency: 140 ms (pulseeffects:1074796): pulseeffects-CRITICAL **: 18:23:26.541: pulse_manager: failed to move source output Firefox, idx = to PE (pulseeffects:1074796): pulseeffects-DEBUG: 18:24:55.059: soe: NULL -> READY -> PLAYING (pulseeffects:1074796): pulseeffects-DEBUG: 18:24:55.059: soe: READY -> PAUSED -> PLAYING (pulseeffects:1074796): pulseeffects-DEBUG: 18:24:55.062: soe: pulsesrc latency [us]: 10000 (pulseeffects:1074796): pulseeffects-DEBUG: 18:24:55.062: soe: pulsesrc buffer [us]: 200000 (pulseeffects:1074796): pulseeffects-DEBUG: 18:24:55.062: soe: total latency: 0 ms (pulseeffects:1074796): pulseeffects-DEBUG: 18:24:55.062: soe: sampling rate: 44100 Hz (pulseeffects:1074796): pulseeffects-DEBUG: 18:24:55.065: soe: pulsesink latency [us]: 10000 (pulseeffects:1074796): pulseeffects-DEBUG: 18:24:55.065: soe: pulsesink buffer [us]: 200000 (pulseeffects:1074796): pulseeffects-DEBUG: 18:24:55.065: soe: total latency: 0 ms (pulseeffects:1074796): pulseeffects-DEBUG: 18:24:55.084: peadapter: pulseaudio block size 705 frames (pulseeffects:1074796): pulseeffects-DEBUG: 18:24:55.084: peadapter: we will read in chunks of 512 frames (pulseeffects:1074796): pulseeffects-DEBUG: 18:24:55.084: soe: total latency: 185 ms (pulseeffects:1074796): pulseeffects-DEBUG: 18:24:55.084: soe: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:1074796): pulseeffects-DEBUG: 18:24:55.085: soe: total latency: 185 ms (pulseeffects:1074796): pulseeffects-DEBUG: 18:26:29.957: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:1074796): pulseeffects-DEBUG: 18:26:29.958: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:1074796): pulseeffects-DEBUG: 18:26:31.605: sie: total latency: 140 ms (pulseeffects:1074796): pulseeffects-DEBUG: 18:26:31.606: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:1074796): pulseeffects-DEBUG: 18:26:31.606: sie: total latency: 140 ms (pulseeffects:1074796): pulseeffects-CRITICAL **: 18:26:31.708: pulse_manager: failed to move source output Firefox, idx = to PE (pulseeffects:1074796): pulseeffects-DEBUG: 18:26:43.957: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:1074796): pulseeffects-DEBUG: 18:26:43.957: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:1074796): pulseeffects-DEBUG: 18:27:09.065: sie: total latency: 140 ms (pulseeffects:1074796): pulseeffects-DEBUG: 18:27:09.065: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:1074796): pulseeffects-DEBUG: 18:27:09.065: sie: total latency: 140 ms (pulseeffects:1074796): pulseeffects-CRITICAL **: 18:27:09.164: pulse_manager: failed to move source output Firefox, idx = to PE (pulseeffects:1074796): pulseeffects-CRITICAL **: 18:27:14.204: pulse_manager: failed to move source output Firefox, idx = to PE (pulseeffects:1074796): pulseeffects-CRITICAL **: 18:27:30.862: pulse_manager: failed to remove source output: Firefox, idx = from PE (pulseeffects:1074796): pulseeffects-CRITICAL **: 18:27:31.878: pulse_manager: failed to move source output Firefox, idx = to PE (pulseeffects:1074796): pulseeffects-DEBUG: 18:28:23.957: soe: No app wants to play audio. We will pause our pipeline. (pulseeffects:1074796): pulseeffects-DEBUG: 18:28:23.958: soe: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:1074796): pulseeffects-DEBUG: 18:35:36.874: pulse_manager: sink input: QtPulseAudio:1088282, idx = 174 moved to PE (pulseeffects:1074796): pulseeffects-DEBUG: 20:49:19.860: pulse_manager: sink input: telegram-desktop, idx = 198 moved to PE (pulseeffects:1074796): pulseeffects-DEBUG: 20:49:19.865: pulse_manager: sink input: telegram-desktop, idx = 199 moved to PE (pulseeffects:1074796): pulseeffects-CRITICAL **: 20:57:54.354: pulse_manager: failed to move sink input: telegram-desktop, idx = 205 to PE (pulseeffects:1074796): pulseeffects-DEBUG: 20:57:54.359: pulse_manager: sink input: telegram-desktop, idx = 206 moved to PE (pulseeffects:1074796): pulseeffects-CRITICAL **: 21:15:39.962: pulse_manager: failed to move sink input: telegram-desktop, idx = 210 to PE (pulseeffects:1074796): pulseeffects-DEBUG: 21:15:39.977: pulse_manager: sink input: telegram-desktop, idx = 211 moved to PE (pulseeffects:1074796): pulseeffects-DEBUG: 22:50:47.957: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:1074796): pulseeffects-DEBUG: 22:50:47.959: sie: PLAYING -> PAUSED -> VOID_PENDING ```

Btw chromium didn't cause errors, but also I couldn't see any input graph and improvement in the recording.

TriplEight commented 3 years ago
another log with some comments ```log $ G_MESSAGES_DEBUG=pulseeffects pulseeffects (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.824: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.824: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects/input (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.824: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects/output (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.824: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects/autoload (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.826: application: PE version: 4.7.1 (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.827: pulse_manager: context is connecting (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.827: pulse_manager: context is authorizing (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.827: pulse_manager: context is setting name (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.827: pulse_manager: context is ready (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.827: pulse_manager: connected to: /run/user/1000/pulse/native (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.827: pulse_manager: protocol version: 33 (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.827: pulse_manager: Pulseaudio version: 13.99.1 (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.827: pulse_manager: default pulseaudio source: alsa_input.pci-0000_00_1f.3.analog-stereo (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.827: pulse_manager: default pulseaudio sink: bluez_sink.F8_1D_78_C1_87_FB.a2dp_sink (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.827: pulse_manager: loading Pulseeffects applications output sink... (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.828: pulse_manager: default pulseaudio sink sampling rate: 44100 Hz (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.828: pulse_manager: default pulseaudio sink audio format: s16le (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.828: pulse_manager: failed to get sink info: PulseEffects_apps (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.831: pulse_manager: loaded module-null-sink: sink_name=PulseEffects_apps sink_properties=device.description="PulseEffects(apps)"device.class="sound" norewinds=1 (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.832: pulse_manager: loading Pulseeffects microphone output sink... (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.832: pulse_manager: default pulseaudio source sampling rate: 44100 Hz (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.832: pulse_manager: default pulseaudio source audio format: s16le (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.832: pulse_manager: failed to get sink info: PulseEffects_mic (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.835: pulse_manager: loaded module-null-sink: sink_name=PulseEffects_mic sink_properties=device.description="PulseEffects(mic)"device.class="sound" norewinds=1 (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.851: sie: using input device: PulseEffects_apps.monitor (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.851: sie: using output device: bluez_sink.F8_1D_78_C1_87_FB.a2dp_sink (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.857: sie: limiter is enabled (pulseeffects:1371577): pulseeffects-WARNING **: 11:42:31.858: compressor plugin was not found! (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.860: sie: filter is enabled (pulseeffects:1371577): pulseeffects-WARNING **: 11:42:31.860: equalizer plugin was not found! (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.862: sie: reverb is already disabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.865: sie: bass_enhancer is enabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.866: sie: exciter is already disabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.868: sie: crossfeed is already disabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.870: sie: maximizer is already disabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.872: sie: multiband_compressor is enabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.873: sie: loudness is already disabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.875: sie: gate is already disabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.881: sie: pitch is already disabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.884: sie: multiband_gate is already disabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.886: sie: deesser is already disabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.888: sie: stereo_tools is enabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.891: sie: convolver is already disabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.893: sie: crystalizer is already disabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.894: sie: autogain is already disabled (pulseeffects:1371577): pulseeffects-WARNING **: 11:42:31.894: delay plugin was not found! (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.918: soe: using output device: PulseEffects_mic (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.918: soe: using input device: alsa_input.pci-0000_00_1f.3.analog-stereo (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.919: soe: limiter is already disabled (pulseeffects:1371577): pulseeffects-WARNING **: 11:42:31.919: compressor plugin was not found! (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.919: soe: filter is already disabled (pulseeffects:1371577): pulseeffects-WARNING **: 11:42:31.920: equalizer plugin was not found! (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.920: soe: reverb is already disabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.921: soe: gate is enabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.922: soe: deesser is already disabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.923: soe: pitch is already disabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.926: soe: webrtc is enabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.927: soe: multiband_compressor is already disabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.928: soe: multiband_gate is already disabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.930: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.930: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects/input (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.930: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects/output (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.930: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects/autoload (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.930: presets_manager: destroyed pulseeffects-INFO: 11:42:31.930: application: enabling global bypass (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.930: sie: bypass enabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:31.931: soe: bypass enabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:32.256: convolver_ui: irs directory already exists: /home/tripleight/.config/PulseEffects/irs (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:32.610: sie: spectrum enabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:32.610: soe: spectrum enabled (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:32.873: sie: total latency: 0 ms (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:32.873: soe: total latency: 0 ms (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:33.208: pulse_manager: sink input: Firefox, idx = 219 moved to PE (pulseeffects:1371577): pulseeffects-CRITICAL **: 11:42:33.210: pulse_manager: failed to move sink input: ZOOM VoiceEngine, idx = 231 to PE # here it failed when I launched Zoom client, after I went to check out in PulseEffects, and Zoom was turned off in Applications. That is, with "Process all inputs" setting on. (pulseeffects:1371577): pulseeffects-CRITICAL **: 11:42:33.212: pulse_manager: failed to move source output ZOOM VoiceEngine, idx = to PE # and this happened right after I tried to turn Zoom on in Applications (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:33.213: pulse_settings_ui: added sink: alsa_output.pci-0000_00_1f.3.analog-stereo (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:33.214: sie: using output device: bluez_sink.F8_1D_78_C1_87_FB.a2dp_sink (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:33.214: pulse_settings_ui: output device changed: bluez_sink.F8_1D_78_C1_87_FB.a2dp_sink (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:33.214: pulse_settings_ui: added sink: bluez_sink.F8_1D_78_C1_87_FB.a2dp_sink (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:33.214: pulse_settings_ui: added source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:33.214: soe: using input device: alsa_input.pci-0000_00_1f.3.analog-stereo (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:33.214: pulse_settings_ui: input device changed: alsa_input.pci-0000_00_1f.3.analog-stereo (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:33.214: pulse_settings_ui: added source: alsa_input.pci-0000_00_1f.3.analog-stereo (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:33.214: pulse_settings_ui: added source: bluez_sink.F8_1D_78_C1_87_FB.a2dp_sink.monitor (pulseeffects:1371577): pulseeffects-DEBUG: 11:42:33.216: sie: NULL -> READY -> VOID_PENDING (pulseeffects:1371577): pulseeffects-CRITICAL **: 11:42:35.690: pulse_manager: failed to move sink input: ZOOM VoiceEngine, idx = 231 to PE (pulseeffects:1371577): pulseeffects-CRITICAL **: 11:42:52.850: pulse_manager: failed to move source output ZOOM VoiceEngine, idx = to PE (pulseeffects:1371577): pulseeffects-DEBUG: 11:52:43.963: pulse_manager: sink input: Chromium, idx = 233 moved to PE (pulseeffects:1371577): pulseeffects-DEBUG: 11:52:43.966: sie: READY -> PAUSED -> PLAYING (pulseeffects:1371577): pulseeffects-DEBUG: 11:52:43.968: sie: pulsesrc latency [us]: 10000 (pulseeffects:1371577): pulseeffects-DEBUG: 11:52:43.968: sie: pulsesrc buffer [us]: 200000 (pulseeffects:1371577): pulseeffects-DEBUG: 11:52:43.968: sie: total latency: 0 ms (pulseeffects:1371577): pulseeffects-DEBUG: 11:52:43.968: sie: sampling rate: 44100 Hz (pulseeffects:1371577): pulseeffects-DEBUG: 11:52:43.987: peadapter: pulseaudio block size 441 frames (pulseeffects:1371577): pulseeffects-DEBUG: 11:52:43.987: peadapter: we will read in chunks of 512 frames (pulseeffects:1371577): pulseeffects-DEBUG: 11:52:43.997: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 11:52:43.997: sie: pulsesink latency [us]: 10000 (pulseeffects:1371577): pulseeffects-DEBUG: 11:52:43.997: sie: pulsesink buffer [us]: 200000 (pulseeffects:1371577): pulseeffects-DEBUG: 11:52:43.997: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 11:52:43.997: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 11:52:43.997: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 11:53:00.269: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:1371577): pulseeffects-DEBUG: 11:53:00.269: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 11:55:34.309: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 11:55:34.316: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 11:55:34.316: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 11:55:34.316: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 11:55:50.269: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:1371577): pulseeffects-DEBUG: 11:55:50.269: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:24:45.645: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:24:45.646: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:24:45.646: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:24:45.646: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:25:04.268: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:1371577): pulseeffects-DEBUG: 12:25:04.269: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:1371577): pulseeffects-CRITICAL **: 12:27:58.142: pulse_manager: failed to move sink input: telegram-desktop, idx = 238 to PE (pulseeffects:1371577): pulseeffects-DEBUG: 12:27:58.151: pulse_manager: sink input: telegram-desktop, idx = 239 moved to PE (pulseeffects:1371577): pulseeffects-DEBUG: 12:27:58.158: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:27:58.159: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:27:58.160: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:27:58.160: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:28:05.268: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:1371577): pulseeffects-DEBUG: 12:28:05.269: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:28:35.164: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:28:35.165: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:28:35.168: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:28:35.168: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:28:42.268: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:1371577): pulseeffects-DEBUG: 12:28:42.269: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:29:42.159: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:29:42.160: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:29:42.160: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:29:42.160: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:29:58.269: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:1371577): pulseeffects-DEBUG: 12:29:58.270: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:31:57.490: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:31:57.491: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:31:57.491: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:31:57.491: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:32:13.269: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:1371577): pulseeffects-DEBUG: 12:32:13.270: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:32:29.534: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:32:29.535: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:32:29.535: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:32:29.535: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:32:45.269: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:1371577): pulseeffects-DEBUG: 12:32:45.270: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:33:31.016: pulse_settings_ui: removed source: bluez_sink.F8_1D_78_C1_87_FB.a2dp_sink.monitor (pulseeffects:1371577): pulseeffects-DEBUG: 12:33:31.017: pulse_settings_ui: removed sink: bluez_sink.F8_1D_78_C1_87_FB.a2dp_sink (pulseeffects:1371577): pulseeffects-DEBUG: 12:33:31.017: new default sink: alsa_output.pci-0000_00_1f.3.analog-stereo (pulseeffects:1371577): pulseeffects-DEBUG: 12:33:31.017: sie: using output device: alsa_output.pci-0000_00_1f.3.analog-stereo (pulseeffects:1371577): pulseeffects-DEBUG: 12:33:31.017: new default source: alsa_input.pci-0000_00_1f.3.analog-stereo (pulseeffects:1371577): pulseeffects-DEBUG: 12:33:31.017: soe: using input device: alsa_input.pci-0000_00_1f.3.analog-stereo (pulseeffects:1371577): pulseeffects-DEBUG: 12:33:46.684: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:33:46.684: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:33:46.684: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:33:46.684: sie: total latency: 181 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:34:02.269: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:1371577): pulseeffects-DEBUG: 12:34:02.270: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:1371577): pulseeffects-CRITICAL **: 12:36:55.660: pulse_manager: failed to move sink input: telegram-desktop, idx = 246 to PE (pulseeffects:1371577): pulseeffects-DEBUG: 12:36:55.675: pulse_manager: sink input: telegram-desktop, idx = 247 moved to PE (pulseeffects:1371577): pulseeffects-DEBUG: 12:36:55.689: sie: PAUSED -> READY -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:36:55.689: sie: READY -> PAUSED -> PLAYING (pulseeffects:1371577): pulseeffects-DEBUG: 12:36:55.691: sie: sampling rate: 48000 Hz (pulseeffects:1371577): pulseeffects-DEBUG: 12:36:55.697: peadapter: pulseaudio block size 480 frames (pulseeffects:1371577): pulseeffects-DEBUG: 12:36:55.697: peadapter: we will read in chunks of 512 frames (pulseeffects:1371577): pulseeffects-DEBUG: 12:36:55.706: sie: total latency: 140 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:36:55.706: sie: pulsesrc latency [us]: 10000 (pulseeffects:1371577): pulseeffects-DEBUG: 12:36:55.706: sie: pulsesrc buffer [us]: 200000 (pulseeffects:1371577): pulseeffects-DEBUG: 12:36:55.706: sie: total latency: 140 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:36:55.706: sie: pulsesink latency [us]: 10000 (pulseeffects:1371577): pulseeffects-DEBUG: 12:36:55.706: sie: pulsesink buffer [us]: 200000 (pulseeffects:1371577): pulseeffects-DEBUG: 12:36:55.706: sie: total latency: 140 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:36:55.706: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:36:55.706: sie: total latency: 140 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:37:03.269: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:1371577): pulseeffects-DEBUG: 12:37:03.272: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:55:38.262: sie: PAUSED -> READY -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:55:38.265: sie: READY -> PAUSED -> PLAYING (pulseeffects:1371577): pulseeffects-DEBUG: 12:55:38.266: sie: sampling rate: 44100 Hz (pulseeffects:1371577): pulseeffects-DEBUG: 12:55:38.268: sie: pulsesrc latency [us]: 10000 (pulseeffects:1371577): pulseeffects-DEBUG: 12:55:38.268: sie: pulsesrc buffer [us]: 200000 (pulseeffects:1371577): pulseeffects-DEBUG: 12:55:38.268: sie: total latency: 0 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:55:38.380: peadapter: pulseaudio block size 441 frames (pulseeffects:1371577): pulseeffects-DEBUG: 12:55:38.380: peadapter: we will read in chunks of 512 frames (pulseeffects:1371577): pulseeffects-DEBUG: 12:55:38.381: sie: total latency: 141 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:55:38.384: sie: pulsesink latency [us]: 10000 (pulseeffects:1371577): pulseeffects-DEBUG: 12:55:38.384: sie: pulsesink buffer [us]: 200000 (pulseeffects:1371577): pulseeffects-DEBUG: 12:55:38.385: sie: total latency: 141 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:55:38.386: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:55:38.386: sie: total latency: 141 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:55:54.269: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:1371577): pulseeffects-DEBUG: 12:55:54.271: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:56:01.541: sie: total latency: 141 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:56:01.542: sie: total latency: 141 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:56:01.542: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:1371577): pulseeffects-DEBUG: 12:56:01.542: sie: total latency: 141 ms (pulseeffects:1371577): pulseeffects-DEBUG: 12:56:17.269: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:1371577): pulseeffects-DEBUG: 12:56:17.273: sie: PLAYING -> PAUSED -> VOID_PENDING ```
wwmm commented 3 years ago

In the second full log our mic pipeline soe did not start to play because the source output ZOOM VoiceEngine did not allow the input of its audio stream to be redirected. So in this case it makes sense things did not work. What I do not understand is why Firefox is not allowing its source output to be redirected.

Are you sure you enabled effects for Chromium in the mic pipeline? The logs only show effects being applied to its output or in Pulseaudio words sink input:

pulse_manager: sink input: Chromium, idx = 233 moved to PE

This won't create activity in the mic pipeline widgets.

TriplEight commented 3 years ago

Are you sure you enabled effects for Chromium in the mic pipeline?

I turned "Process all inputs" on image And if I do something with mic in Chromium, it appears on in Applications menu.

TriplEight commented 3 years ago

Now, when I updated to 4.8.2-1 it works with chromium: I see the graphs and gate with webrtc seem to work. So problem is localizing around Firefox:

yet another log with some comments ``` ~/c/g/t/rustlings   solutions *…  G_MESSAGES_DEBUG=pulseeffects pulseeffects --gapplication-service 1.05h  Sa 28 Nov 2020 14:00:41 UTC (process:179335): pulseeffects-DEBUG: 15:00:45.007: main: locale directory: /usr/share/locale (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.080: presets_manager: system input presets directory: "/etc/PulseEffects/input"; (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.080: presets_manager: system input presets directory: "/etc/xdg/PulseEffects/input"; (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.080: presets_manager: system output presets directory: "/etc/PulseEffects/output"; (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.080: presets_manager: system output presets directory: "/etc/xdg/PulseEffects/output"; (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.080: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.080: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects/input (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.080: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects/output (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.080: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects/autoload (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.081: application: PE version: 4.8.2 (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.082: pulse_manager: context is connecting (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.082: pulse_manager: context is authorizing (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.082: pulse_manager: context is setting name (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.082: pulse_manager: context is ready (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.082: pulse_manager: connected to: /run/user/1000/pulse/native (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.082: pulse_manager: protocol version: 33 (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.083: pulse_manager: Pulseaudio version: 13.99.1 (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.083: pulse_manager: default pulseaudio source: alsa_input.pci-0000_00_1f.3.analog-stereo (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.083: pulse_manager: default pulseaudio sink: alsa_output.pci-0000_00_1f.3.analog-stereo (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.083: pulse_manager: loading Pulseeffects applications output sink... (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.083: pulse_manager: default pulseaudio sink sampling rate: 48000 Hz (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.083: pulse_manager: default pulseaudio sink audio format: s16le (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.083: pulse_manager: failed to get sink info: PulseEffects_apps (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.086: pulse_manager: loaded module-null-sink: sink_name=PulseEffects_apps sink_properties=device.description="PulseEffects(apps)"device.class="sound" norewinds=1 (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.086: pulse_manager: changed volume of the sink: PulseEffects_apps (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.087: pulse_manager: loading Pulseeffects microphone output sink... (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.087: pulse_manager: default pulseaudio source sampling rate: 48000 Hz (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.087: pulse_manager: default pulseaudio source audio format: s16le (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.087: pulse_manager: failed to get sink info: PulseEffects_mic (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.089: pulse_manager: loaded module-null-sink: sink_name=PulseEffects_mic sink_properties=device.description="PulseEffects(mic)"device.class="sound" norewinds=1 (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.090: pulse_manager: changed volume of the sink: PulseEffects_mic (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.181: sie: using input device: PulseEffects_apps.monitor (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.181: sie: using output device: alsa_output.pci-0000_00_1f.3.analog-stereo (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.185: sie: limiter is already disabled (pulseeffects:179335): pulseeffects-WARNING **: 15:00:45.185: compressor plugin was not found! (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.187: sie: filter is already disabled (pulseeffects:179335): pulseeffects-WARNING **: 15:00:45.187: equalizer plugin was not found! (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.188: sie: reverb is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.190: sie: bass_enhancer is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.192: sie: exciter is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.194: sie: crossfeed is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.195: sie: maximizer is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.198: sie: multiband_compressor is already disabled (pulseeffects:179335): pulseeffects-WARNING **: 15:00:45.198: loudness plugin was not found! (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.199: sie: gate is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.201: sie: pitch is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.204: sie: multiband_gate is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.205: sie: deesser is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.207: sie: stereo_tools is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.209: sie: convolver is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.210: sie: crystalizer is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.211: sie: autogain is already disabled (pulseeffects:179335): pulseeffects-WARNING **: 15:00:45.211: delay plugin was not found! (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.215: soe: using output device: PulseEffects_mic (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.215: soe: using input device: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.216: soe: limiter is already disabled (pulseeffects:179335): pulseeffects-WARNING **: 15:00:45.216: compressor plugin was not found! (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.217: soe: filter is already disabled (pulseeffects:179335): pulseeffects-WARNING **: 15:00:45.217: equalizer plugin was not found! (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.217: soe: reverb is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.218: soe: gate is enabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.219: soe: deesser is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.220: soe: pitch is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.223: soe: webrtc is enabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.223: soe: multiband_compressor is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.224: soe: multiband_gate is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.224: soe: stereo_tools is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.225: soe: maximizer is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.227: presets_manager: system input presets directory: "/etc/PulseEffects/input"; (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.227: presets_manager: system input presets directory: "/etc/xdg/PulseEffects/input"; (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.227: presets_manager: system output presets directory: "/etc/PulseEffects/output"; (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.227: presets_manager: system output presets directory: "/etc/xdg/PulseEffects/output"; (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.227: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.227: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects/input (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.227: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects/output (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.227: presets_manager: user presets directory already exists: /home/tripleight/.config/PulseEffects/autoload (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.227: presets_manager: destroyed pulseeffects-INFO: 15:00:45.227: application: disabling global bypass (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.227: sie: bypass is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.227: soe: bypass is already disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.228: application: Running in Background (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.228: sie: total latency: 0 ms (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.228: soe: total latency: 0 ms (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.233: sie: rtkit: changed GstQueue:queue0 thread real-time priority value to 4 (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.234: sie: NULL -> READY -> PLAYING (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.234: sie: READY -> PAUSED -> PLAYING (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.235: sie: rtkit: changed GstPulseSrc:source thread real-time priority value to 4 (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.238: sie: rtkit: changed GstPulseSrc:source thread real-time priority value to 4 (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.238: sie: sampling rate: 44100 Hz (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.238: sie: pulsesrc latency [us]: 10000 (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.241: sie: pulsesrc buffer [us]: 200000 (pulseeffects:179335): pulseeffects-DEBUG: 15:00:45.241: sie: total latency: 0 ms (pulseeffects:179335): pulseeffects-DEBUG: 15:00:47.313: peadapter: pulseaudio block size 441 frames (pulseeffects:179335): pulseeffects-DEBUG: 15:00:47.313: peadapter: we will read in chunks of 512 frames (pulseeffects:179335): pulseeffects-DEBUG: 15:00:47.323: sie: total latency: 141 ms (pulseeffects:179335): pulseeffects-DEBUG: 15:00:47.323: sie: pulsesink latency [us]: 10000 (pulseeffects:179335): pulseeffects-DEBUG: 15:00:47.323: sie: pulsesink buffer [us]: 200000 (pulseeffects:179335): pulseeffects-DEBUG: 15:00:47.323: sie: total latency: 141 ms (pulseeffects:179335): pulseeffects-DEBUG: 15:00:47.323: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:179335): pulseeffects-DEBUG: 15:00:47.323: sie: total latency: 141 ms (pulseeffects:179335): pulseeffects-DEBUG: 15:00:50.606: presets_manager: autoloading preset none for device alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-headphones (pulseeffects:179335): pulseeffects-DEBUG: 15:00:50.613: presets_manager: loaded preset: /home/tripleight/.config/PulseEffects/output/none.json (pulseeffects:179335): pulseeffects-DEBUG: 15:01:10.992: convolver_ui: irs directory already exists: /home/tripleight/.config/PulseEffects/irs (pulseeffects:179335): pulseeffects-DEBUG: 15:01:11.356: sie: spectrum enabled (pulseeffects:179335): pulseeffects-DEBUG: 15:01:11.356: soe: spectrum enabled (pulseeffects:179335): pulseeffects-DEBUG: 15:01:11.391: sie: total latency: 141 ms (pulseeffects:179335): pulseeffects-DEBUG: 15:01:11.633: sie: using output device: alsa_output.pci-0000_00_1f.3.analog-stereo (pulseeffects:179335): pulseeffects-DEBUG: 15:01:11.633: pulse_settings_ui: output device changed: alsa_output.pci-0000_00_1f.3.analog-stereo (pulseeffects:179335): pulseeffects-DEBUG: 15:01:11.633: pulse_settings_ui: added sink: alsa_output.pci-0000_00_1f.3.analog-stereo (pulseeffects:179335): pulseeffects-DEBUG: 15:01:11.633: soe: using input device: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor (pulseeffects:179335): pulseeffects-DEBUG: 15:01:11.633: pulse_settings_ui: input device changed: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor (pulseeffects:179335): pulseeffects-DEBUG: 15:01:11.633: pulse_settings_ui: added source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor (pulseeffects:179335): pulseeffects-DEBUG: 15:01:11.633: pulse_settings_ui: added source: alsa_input.pci-0000_00_1f.3.analog-stereo (pulseeffects:179335): pulseeffects-DEBUG: 15:01:21.506: sie: bass_enhancer is enabled (pulseeffects:179335): pulseeffects-DEBUG: 15:01:21.516: sie: filter is enabled (pulseeffects:179335): pulseeffects-DEBUG: 15:01:21.519: sie: limiter is enabled (pulseeffects:179335): pulseeffects-DEBUG: 15:01:21.525: sie: multiband_compressor is enabled (pulseeffects:179335): pulseeffects-DEBUG: 15:01:21.527: sie: stereo_tools is enabled (pulseeffects:179335): pulseeffects-DEBUG: 15:01:21.528: presets_manager: loaded preset: /home/tripleight/.config/PulseEffects/output/guide_.json (pulseeffects:179335): pulseeffects-DEBUG: 15:01:26.676: sie: filter is disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:01:26.678: sie: bass_enhancer is disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:01:26.679: presets_manager: loaded preset: /home/tripleight/.config/PulseEffects/output/none.json (pulseeffects:179335): pulseeffects-DEBUG: 15:01:26.680: sie: multiband_compressor is disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:01:26.680: sie: stereo_tools is disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:01:26.681: sie: limiter is disabled (pulseeffects:179335): pulseeffects-DEBUG: 15:01:28.937: soe: new plugins order: [gate,webrtc,multiband_gate,limiter,compressor,multiband_compressor,filter,equalizer,deesser,reverb,pitch,stereo_tools,maximizer,] (pulseeffects:179335): pulseeffects-DEBUG: 15:01:28.937: soe: linked identity_in to gate (pulseeffects:179335): pulseeffects-DEBUG: 15:01:28.938: soe: linked gate to webrtc (pulseeffects:179335): pulseeffects-DEBUG: 15:01:28.938: soe: linked webrtc to multiband_gate (pulseeffects:179335): pulseeffects-DEBUG: 15:01:28.938: soe: linked multiband_gate to limiter (pulseeffects:179335): pulseeffects-DEBUG: 15:01:28.938: soe: linked limiter to compressor (pulseeffects:179335): pulseeffects-DEBUG: 15:01:28.938: soe: linked compressor to multiband_compressor (pulseeffects:179335): pulseeffects-DEBUG: 15:01:28.938: soe: linked multiband_compressor to filter (pulseeffects:179335): pulseeffects-DEBUG: 15:01:28.938: soe: linked filter to equalizer (pulseeffects:179335): pulseeffects-DEBUG: 15:01:28.938: soe: linked equalizer to deesser (pulseeffects:179335): pulseeffects-DEBUG: 15:01:28.938: soe: linked deesser to reverb (pulseeffects:179335): pulseeffects-DEBUG: 15:01:28.939: soe: linked reverb to pitch (pulseeffects:179335): pulseeffects-DEBUG: 15:01:28.939: soe: linked pitch to stereo_tools (pulseeffects:179335): pulseeffects-DEBUG: 15:01:28.939: soe: linked stereo_tools to maximizer (pulseeffects:179335): pulseeffects-DEBUG: 15:01:28.939: soe: linked maximizer to identity_out (pulseeffects:179335): pulseeffects-DEBUG: 15:01:28.947: presets_manager: loaded preset: /home/tripleight/.config/PulseEffects/input/mic.json (pulseeffects:179335): pulseeffects-CRITICAL **: 15:01:51.782: pulse_manager: failed to move source output Firefox, idx = to PE # all criticals are attempts to record voice in firefox (pulseeffects:179335): pulseeffects-CRITICAL **: 15:02:52.272: pulse_manager: failed to move source output Firefox, idx = to PE (pulseeffects:179335): pulseeffects-CRITICAL **: 15:03:38.175: pulse_manager: failed to move source output Firefox, idx = to PE (pulseeffects:179335): pulseeffects-CRITICAL **: 15:03:52.464: pulse_manager: failed to move source output Firefox, idx = to PE (pulseeffects:179335): pulseeffects-DEBUG: 15:04:14.398: soe: using input device: alsa_input.pci-0000_00_1f.3.analog-stereo (pulseeffects:179335): pulseeffects-DEBUG: 15:04:14.398: pulse_settings_ui: input device changed: alsa_input.pci-0000_00_1f.3.analog-stereo (pulseeffects:179335): pulseeffects-CRITICAL **: 15:04:36.002: pulse_manager: failed to move source output Firefox, idx = to PE (pulseeffects:179335): pulseeffects-DEBUG: 15:05:13.606: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:179335): pulseeffects-DEBUG: 15:05:13.610: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:179335): pulseeffects-DEBUG: 15:05:21.366: sie: total latency: 141 ms (pulseeffects:179335): pulseeffects-DEBUG: 15:05:21.367: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:179335): pulseeffects-DEBUG: 15:05:21.368: sie: total latency: 141 ms (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.200: pulse_manager: source output: Chromium input, idx = 37 moved to PE # and everything is fine in chromium (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.209: soe: NULL -> READY -> PLAYING (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.210: soe: READY -> PAUSED -> PLAYING (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.211: pulse_manager: sink input: Chromium, idx = 49 moved to PE (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.212: soe: rtkit: changed GstQueue:queue2 thread real-time priority value to 4 (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.214: soe: rtkit: changed GstPulseSrc:pulsesrc0 thread real-time priority value to 4 (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.216: soe: rtkit: changed GstQueue:queue1 thread real-time priority value to 4 (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.217: soe: rtkit: changed GstPulseSrc:source thread real-time priority value to 4 (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.219: soe: rtkit: changed GstPulseSrc:pulsesrc0 thread real-time priority value to 4 (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.219: soe: total latency: 0 ms (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.221: soe: rtkit: changed GstPulseSrc:source thread real-time priority value to 4 (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.221: soe: pulsesrc latency [us]: 10000 (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.221: soe: pulsesrc buffer [us]: 200000 (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.221: soe: sampling rate: 44100 Hz (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.221: soe: total latency: 0 ms (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.228: soe: pulsesink latency [us]: 10000 (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.228: soe: pulsesink buffer [us]: 200000 (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.228: soe: total latency: 0 ms (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.229: peadapter: pulseaudio block size 441 frames (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.229: peadapter: we will read in chunks of 512 frames (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.319: soe: total latency: 183 ms (pulseeffects:179335): pulseeffects-DEBUG: 15:05:59.320: soe: PAUSED -> PLAYING -> VOID_PENDING ```
wwmm commented 3 years ago

I have good and bad news. I did some tests with Firefox and I was able to reproduce the issue. And I know why it is happening. The bad news is that I can do nothing about it. While Firefox is recording something run the command pacmd list-source-outputs. Firefox is setting the flag DONT_MOVE to its recording stream. This tells Pulseaudio that no one is allowed to redirect Firefox to another source device. That is why we are not able to move it to PulseEffects. Unfortunately this is something that only the Firefox developers can change.

wwmm commented 3 years ago

I hope that Chromium doesn't follow this horrible path taken by Mozilla...

Digitalone1 commented 3 years ago

Maybe a ticked should be opened on https://bugzilla.mozilla.org/

Anyway the relationship between Firefox and Pulseaudio is a mess, there's also this opened from years and never resolved.

Digitalone1 commented 3 years ago

I think they will answer that this choice was made for security and privacy reasons for not allowing third party software to record their stream.

More or less what KDE devs told me about their useless and buggy microphone indicator.

wwmm commented 3 years ago

I think they will answer that this choice was made for security and privacy reasons for not allowing third party software to record their stream.

Any other software is still allowed to record the user microphone while Firefox is recording it. Setting that flag offers no privacy protection.

wwmm commented 3 years ago

And we are still able to redirect Firefox output. They must have had other reasons to set that flag.

Digitalone1 commented 3 years ago

@wwmm please open a ticket in bugzilla, you can explain more in depth the issue.

wwmm commented 3 years ago

I will try to do that tomorrow.

wwmm commented 3 years ago

Someone has already done that 6 months ago https://bugzilla.mozilla.org/show_bug.cgi?id=1645684. And there was no answer... =/

Digitalone1 commented 3 years ago

I'm afraid nothing will be done if we wait them. Looking at the other issue posted above, this seems the repository where Mozilla has its Pulseaudio implementation.

And this is the mentioned flag. Maybe it's only a matter of deleting or changing this line so I can submit a pull request? I don't know, I'm not even a Rust developer.

TriplEight commented 3 years ago

Thanks a bunch for triaging the issue this far! Unfortunately, the problems are not limited to Firefox.

Zoom and telegram-desktop have a similar problem: ``` (pulseeffects:179335): pulseeffects-DEBUG: 10:59:57.496: pulse_settings_ui: added source: alsa_input.usb-C-Media_Electronics_Inc._TONOR_TC-777_Audio_Device-00.mono-fallback (pulseeffects:179335): pulseeffects-DEBUG: 10:59:57.496: new default sink: alsa_output.pci-0000_00_1f.3.analog-stereo (pulseeffects:179335): pulseeffects-DEBUG: 10:59:57.496: sie: using output device: alsa_output.pci-0000_00_1f.3.analog-stereo (pulseeffects:179335): pulseeffects-DEBUG: 10:59:57.496: new default source: alsa_input.usb-C-Media_Electronics_Inc._TONOR_TC-777_Audio_Device-00.mono-fallback (pulseeffects:179335): pulseeffects-DEBUG: 11:01:14.430: pulse_settings_ui: input device changed: alsa_input.usb-C-Media_Electronics_Inc._TONOR_TC-777_Audio_Device-00.mono-fallback (pulseeffects:179335): pulseeffects-CRITICAL **: 11:02:44.179: pulse_manager: failed to move sink input: telegram-desktop, idx = 72 to PE (pulseeffects:179335): pulseeffects-CRITICAL **: 11:02:44.216: pulse_manager: failed to move source output telegram-desktop, idx = to PE (pulseeffects:179335): pulseeffects-DEBUG: 11:28:39.640: sie: total latency: 141 ms (pulseeffects:179335): pulseeffects-DEBUG: 11:28:39.641: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:179335): pulseeffects-DEBUG: 11:28:39.641: sie: total latency: 141 ms (pulseeffects:179335): pulseeffects-DEBUG: 11:29:06.557: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:179335): pulseeffects-DEBUG: 11:29:06.562: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:179335): pulseeffects-DEBUG: 11:29:22.769: sie: total latency: 141 ms (pulseeffects:179335): pulseeffects-DEBUG: 11:29:22.770: sie: total latency: 141 ms (pulseeffects:179335): pulseeffects-DEBUG: 11:29:22.770: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:179335): pulseeffects-DEBUG: 11:29:22.770: sie: total latency: 141 ms (pulseeffects:179335): pulseeffects-DEBUG: 11:29:38.558: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:179335): pulseeffects-DEBUG: 11:29:38.563: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:179335): pulseeffects-DEBUG: 11:30:49.895: sie: total latency: 141 ms (pulseeffects:179335): pulseeffects-DEBUG: 11:30:49.896: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:179335): pulseeffects-DEBUG: 11:30:49.896: sie: total latency: 141 ms (pulseeffects:179335): pulseeffects-DEBUG: 11:31:05.558: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:179335): pulseeffects-DEBUG: 11:31:05.560: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:179335): pulseeffects-DEBUG: 11:31:37.969: pulse_settings_ui: added source: bluez_sink.F8_1D_78_C1_87_FB.a2dp_sink.monitor (pulseeffects:179335): pulseeffects-DEBUG: 11:31:37.971: pulse_settings_ui: added sink: bluez_sink.F8_1D_78_C1_87_FB.a2dp_sink (pulseeffects:179335): pulseeffects-DEBUG: 11:31:37.971: new default sink: bluez_sink.F8_1D_78_C1_87_FB.a2dp_sink (pulseeffects:179335): pulseeffects-DEBUG: 11:31:37.972: sie: using output device: bluez_sink.F8_1D_78_C1_87_FB.a2dp_sink (pulseeffects:179335): pulseeffects-DEBUG: 11:31:37.972: new default source: alsa_input.usb-C-Media_Electronics_Inc._TONOR_TC-777_Audio_Device-00.mono-fallback (pulseeffects:179335): pulseeffects-CRITICAL **: 11:31:41.984: pulse_manager: failed to move sink input: ZOOM VoiceEngine, idx = 78 to PE (pulseeffects:179335): pulseeffects-CRITICAL **: 11:31:55.292: pulse_manager: failed to move source output ZOOM VoiceEngine, idx = to PE (pulseeffects:179335): pulseeffects-DEBUG: 11:33:40.962: sie: total latency: 141 ms (pulseeffects:179335): pulseeffects-DEBUG: 11:33:40.963: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:179335): pulseeffects-DEBUG: 11:33:40.963: sie: total latency: 141 ms (pulseeffects:179335): pulseeffects-DEBUG: 11:34:08.558: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:179335): pulseeffects-DEBUG: 11:34:08.561: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:179335): pulseeffects-DEBUG: 11:34:12.813: sie: total latency: 141 ms (pulseeffects:179335): pulseeffects-DEBUG: 11:34:12.814: sie: total latency: 141 ms (pulseeffects:179335): pulseeffects-DEBUG: 11:34:12.814: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:179335): pulseeffects-DEBUG: 11:34:12.814: sie: total latency: 141 ms (pulseeffects:179335): pulseeffects-DEBUG: 11:34:40.558: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:179335): pulseeffects-DEBUG: 11:34:40.563: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:179335): pulseeffects-CRITICAL **: 11:35:04.815: pulse_manager: failed to move sink input: ZOOM VoiceEngine, idx = 80 to PE (pulseeffects:179335): pulseeffects-CRITICAL **: 11:35:22.409: pulse_manager: failed to move source output ZOOM VoiceEngine, idx = to PE (pulseeffects:179335): pulseeffects-CRITICAL **: 11:35:27.863: pulse_manager: failed to move sink input: ZOOM VoiceEngine, idx = 81 to PE (pulseeffects:179335): pulseeffects-CRITICAL **: 11:35:27.891: pulse_manager: failed to move source output ZOOM VoiceEngine, idx = to PE (pulseeffects:179335): pulseeffects-CRITICAL **: 11:35:42.311: pulse_manager: failed to move sink input: ZOOM VoiceEngine, idx = 82 to PE (pulseeffects:179335): pulseeffects-CRITICAL **: 11:35:55.242: pulse_manager: failed to move source output ZOOM VoiceEngine, idx = to PE (pulseeffects:179335): pulseeffects-DEBUG: 11:43:17.852: pulse_settings_ui: removed source: alsa_input.usb-C-Media_Electronics_Inc._TONOR_TC-777_Audio_Device-00.mono-fallback (pulseeffects:179335): pulseeffects-DEBUG: 11:43:17.856: new default sink: bluez_sink.F8_1D_78_C1_87_FB.a2dp_sink (pulseeffects:179335): pulseeffects-DEBUG: 11:43:17.856: sie: using output device: bluez_sink.F8_1D_78_C1_87_FB.a2dp_sink (pulseeffects:179335): pulseeffects-DEBUG: 11:43:17.856: new default source: alsa_input.usb-C-Media_Electronics_Inc._TONOR_TC-777_Audio_Device-00.multichannel-input (pulseeffects:179335): pulseeffects-DEBUG: 11:43:17.859: pulse_settings_ui: added source: alsa_input.usb-C-Media_Electronics_Inc._TONOR_TC-777_Audio_Device-00.multichannel-input (pulseeffects:179335): pulseeffects-DEBUG: 11:43:39.977: pulse_settings_ui: input device changed: alsa_input.usb-C-Media_Electronics_Inc._TONOR_TC-777_Audio_Device-00.multichannel-input (pulseeffects:179335): pulseeffects-CRITICAL **: 11:44:03.793: pulse_manager: failed to move source output ZOOM VoiceEngine, idx = to PE (pulseeffects:179335): pulseeffects-CRITICAL **: 11:44:05.399: pulse_manager: failed to move source output ZOOM VoiceEngine, idx = to PE (pulseeffects:179335): pulseeffects-CRITICAL **: 12:14:44.218: pulse_manager: failed to move sink input: telegram-desktop, idx = 88 to PE (pulseeffects:179335): pulseeffects-DEBUG: 12:14:44.239: pulse_manager: sink input: telegram-desktop, idx = 89 moved to PE (pulseeffects:179335): pulseeffects-DEBUG: 12:14:44.256: sie: PAUSED -> READY -> VOID_PENDING (pulseeffects:179335): pulseeffects-DEBUG: 12:14:44.258: sie: READY -> PAUSED -> PLAYING (pulseeffects:179335): pulseeffects-DEBUG: 12:14:44.259: sie: rtkit: changed GstQueue:queue0 thread real-time priority value to 4 (pulseeffects:179335): pulseeffects-DEBUG: 12:14:44.263: sie: rtkit: changed GstPulseSrc:source thread real-time priority value to 4 (pulseeffects:179335): pulseeffects-DEBUG: 12:14:44.269: sie: rtkit: changed GstPulseSrc:source thread real-time priority value to 4 (pulseeffects:179335): pulseeffects-DEBUG: 12:14:44.270: sie: sampling rate: 48000 Hz (pulseeffects:179335): pulseeffects-DEBUG: 12:14:44.283: peadapter: pulseaudio block size 480 frames (pulseeffects:179335): pulseeffects-DEBUG: 12:14:44.283: peadapter: we will read in chunks of 512 frames (pulseeffects:179335): pulseeffects-DEBUG: 12:14:44.290: sie: total latency: 180 ms (pulseeffects:179335): pulseeffects-DEBUG: 12:14:44.291: sie: pulsesrc latency [us]: 10000 (pulseeffects:179335): pulseeffects-DEBUG: 12:14:44.291: sie: pulsesrc buffer [us]: 200000 (pulseeffects:179335): pulseeffects-DEBUG: 12:14:44.292: sie: total latency: 180 ms (pulseeffects:179335): pulseeffects-DEBUG: 12:14:44.292: sie: pulsesink latency [us]: 10000 (pulseeffects:179335): pulseeffects-DEBUG: 12:14:44.292: sie: pulsesink buffer [us]: 200000 (pulseeffects:179335): pulseeffects-DEBUG: 12:14:44.292: sie: total latency: 180 ms (pulseeffects:179335): pulseeffects-DEBUG: 12:14:44.292: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:179335): pulseeffects-DEBUG: 12:14:44.292: sie: total latency: 180 ms (pulseeffects:179335): pulseeffects-DEBUG: 12:14:51.558: sie: No app wants to play audio. We will pause our pipeline. (pulseeffects:179335): pulseeffects-DEBUG: 12:14:51.563: sie: PLAYING -> PAUSED -> VOID_PENDING (pulseeffects:179335): pulseeffects-DEBUG: 12:32:17.189: pulse_settings_ui: removed source: bluez_sink.F8_1D_78_C1_87_FB.a2dp_sink.monitor (pulseeffects:179335): pulseeffects-DEBUG: 12:32:17.190: pulse_settings_ui: removed sink: bluez_sink.F8_1D_78_C1_87_FB.a2dp_sink (pulseeffects:179335): pulseeffects-DEBUG: 12:32:17.190: new default sink: alsa_output.pci-0000_00_1f.3.analog-stereo (pulseeffects:179335): pulseeffects-DEBUG: 12:32:17.190: sie: using output device: alsa_output.pci-0000_00_1f.3.analog-stereo (pulseeffects:179335): pulseeffects-DEBUG: 12:32:17.190: new default source: alsa_input.usb-C-Media_Electronics_Inc._TONOR_TC-777_Audio_Device-00.multichannel-input (pulseeffects:179335): pulseeffects-DEBUG: 12:53:24.275: sie: total latency: 180 ms (pulseeffects:179335): pulseeffects-DEBUG: 12:53:24.276: sie: total latency: 180 ms (pulseeffects:179335): pulseeffects-DEBUG: 12:53:24.277: sie: PAUSED -> PLAYING -> VOID_PENDING (pulseeffects:179335): pulseeffects-DEBUG: 12:53:24.277: sie: total latency: 180 ms (pulseeffects:179335): pulseeffects-CRITICAL **: 12:53:24.490: pulse_manager: failed to move source output Firefox, idx = to PE ```
wwmm commented 3 years ago

This issue with Telegram is known for at least 2 years. They also set the DONT_MOVE flag. Zoom is probably doing the same thing. Only them can change that.

wwmm commented 3 years ago

And this is the mentioned flag. Maybe it's only a matter of deleting or changing this line so I can submit a pull request?

This line only defines the constant. It is not where it is being set to the Firefox recording stream.

this seems the repository where Mozilla has its Pulseaudio implementation

I think Firefox is not developed in Github

wwmm commented 3 years ago

https://developer.mozilla.org/en-US/docs/Mozilla/Tech/Viewing_and_searching_Mozilla_source_code_online

wwmm commented 3 years ago

https://firefox-source-docs.mozilla.org/contributing/vcs/mercurial.html

Digitalone1 commented 3 years ago

It's there: https://searchfox.org/mozilla-central/source/third_party/rust/cubeb-pulse/src/backend/stream.rs#442

And a modification can be made here in Github: https://github.com/mozilla/cubeb-pulse-rs/blob/bf31534d08b2c16fb5e4c5834944ae3271efbd63/src/backend/stream.rs#L488

wwmm commented 3 years ago

I added a comment at https://bugzilla.mozilla.org/show_bug.cgi?id=1645684. Let's see if this revives the bug report.

Digitalone1 commented 3 years ago

I think Firefox is not developed in Github

It's not, but cubeb-pulse is developed there and receives pull request to be implemented in the main project.

Could be enough to remove the conditional statements where the flag is added. In the next days I'll make an issue on Github adding a pull request. Let's see what happens. I'm pretty sure the issue on Bugzilla will remain ignored.

Digitalone1 commented 3 years ago

@wwmm with Pipewire the limitation of this flag could be bypassed?

wwmm commented 3 years ago

with Pipewire the limitation of this flag could be bypassed?

It is hard say. At least its pw_stream_flags structure does not have a don't move flag https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/master/src/pipewire/stream.h#L237

wwmm commented 3 years ago

PipeWire's developers have added a workaround that ignores the silly request done by Firefox

Firefox is forced to remove the DONT_MOVE flag on capture streams so
that you can move firefox streams with other tools.

https://gitlab.freedesktop.org/pipewire/pipewire/-/releases#0.3.32

So from PipeWire 0.3.32 this kind of problem should not happen anymore when using Firefox.

wwmm commented 3 years ago

I will close this issue.