Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn about Pipewire's suspension of sinks might cause troubles #419

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Added warning when using ALSA that suspension of output audio sinks m…
…ight cause issues.
  • Loading branch information
Michal Feix committed Aug 31, 2022
commit a801d0b57a6fe6da40e1ccd4efccc7179fe0b4fd
10 changes: 10 additions & 0 deletions src/xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
/* This runs over randomly sometimes. TODO: investigate more fully sometime. */

#ifndef __arm__
text_color_set(DW_COLOR_ERROR);
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
}

Expand Down