loopback module can be very noisy in logging
Currently I am running with the following patch after pipewire dumped 520k log messages on me into a relatively short time.
The only loopback rule i had running was a something like
pactl load-module module-remap-source \
master=alsa_input.usb-MOTU_M4_ID-00.multichannel-input \
format=float32 rate=48000 \
master_channel_map=front-left,front-left \
channel_map=left,right \
source_name=M4_Front_Left_Stereo source_properties=device.description=M4_Front_Left_Stereo
FWIW the rule does not give me a stereo device. it was still a 4 channel device.
diff --git a/src/modules/module-loopback.c b/src/modules/module-loopback.c
index 8d42678a7..88e57f978 100644
--- a/src/modules/module-loopback.c
+++ b/src/modules/module-loopback.c
@@ -124,10 +124,10 @@ static void capture_process(void *d)
uint32_t i;
if ((in = pw_stream_dequeue_buffer(impl->capture)) == NULL)
- pw_log_warn("out of capture buffers: %m");
+ pw_log_debug("out of capture buffers: %m");
if ((out = pw_stream_dequeue_buffer(impl->playback)) == NULL)
- pw_log_warn("out of playback buffers: %m");
+ pw_log_debug("out of playback buffers: %m");
if (in != NULL && out != NULL) {
uint32_t size = 0;
Edited by darix