Skip to content

Commit a801d0b

Browse files
author
Michal Feix
committed
Added warning when using ALSA that suspension of output audio sinks might cause issues.
1 parent 7d3c1d1 commit a801d0b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: src/xmit.c

+10
Original file line numberDiff line numberDiff line change
@@ -913,9 +913,19 @@ static void xmit_ax25_frames (int chan, int prio, packet_t pp, int max_bundle)
913913

914914
/* Looks like a bug with the RPi audio system. Never an issue with Ubuntu. */
915915
/* This runs over randomly sometimes. TODO: investigate more fully sometime. */
916+
916917
#ifndef __arm__
917918
text_color_set(DW_COLOR_ERROR);
918919
dw_printf ("Transmit timing error: PTT is on %d mSec too long.\n", -wait_more);
920+
921+
/* This also happens with recent Linux distributions with PipeWire audio subsystem */
922+
/* where Wireplumber in its default setting turns off the audio output sink after */
923+
/* several seconds of inactivity, which results in slight delay while warming up again. */
924+
/* See: https://unix.stackexchange.com/questions/676846/how-do-i-disable-audio-sink-suspend-on-idle-using-wireplumber-in-fedora-35-so-th */
925+
#if USE_ALSA
926+
dw_printf ("If using PipeWIre, make sure your output sinks are not being suspended for inactivity.\n");
927+
#endif
928+
919929
#endif
920930
}
921931

0 commit comments

Comments
 (0)