mirror of https://github.com/wb2osz/direwolf.git
Added warning when using ALSA that suspension of output audio sinks might cause issues.
This commit is contained in:
parent
7d3c1d100e
commit
a801d0b57a
10
src/xmit.c
10
src/xmit.c
|
@ -913,9 +913,19 @@ static void xmit_ax25_frames (int chan, int prio, packet_t pp, int max_bundle)
|
||||||
|
|
||||||
/* Looks like a bug with the RPi audio system. Never an issue with Ubuntu. */
|
/* Looks like a bug with the RPi audio system. Never an issue with Ubuntu. */
|
||||||
/* This runs over randomly sometimes. TODO: investigate more fully sometime. */
|
/* This runs over randomly sometimes. TODO: investigate more fully sometime. */
|
||||||
|
|
||||||
#ifndef __arm__
|
#ifndef __arm__
|
||||||
text_color_set(DW_COLOR_ERROR);
|
text_color_set(DW_COLOR_ERROR);
|
||||||
dw_printf ("Transmit timing error: PTT is on %d mSec too long.\n", -wait_more);
|
dw_printf ("Transmit timing error: PTT is on %d mSec too long.\n", -wait_more);
|
||||||
|
|
||||||
|
/* This also happens with recent Linux distributions with PipeWire audio subsystem */
|
||||||
|
/* where Wireplumber in its default setting turns off the audio output sink after */
|
||||||
|
/* several seconds of inactivity, which results in slight delay while warming up again. */
|
||||||
|
/* See: https://unix.stackexchange.com/questions/676846/how-do-i-disable-audio-sink-suspend-on-idle-using-wireplumber-in-fedora-35-so-th */
|
||||||
|
#if USE_ALSA
|
||||||
|
dw_printf ("If using PipeWIre, make sure your output sinks are not being suspended for inactivity.\n");
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue