From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Wed, 27 Sep 2023 11:38:02 +0000 (+0100) Subject: Actually _do_ change the latency to 200000 in the PipeWire backend as previously... X-Git-Tag: 4.3.2^2~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1dd3ad33e52254ef931545536c26cd89dbedfc9;p=thirdparty%2Fshairport-sync.git Actually _do_ change the latency to 200000 in the PipeWire backend as previously promied, duh. --- diff --git a/audio_pw.c b/audio_pw.c index ee28fa51..18820042 100644 --- a/audio_pw.c +++ b/audio_pw.c @@ -359,7 +359,7 @@ static void start(int sample_rate, int sample_format) { data.rate = sample_rate; data.channels = 2; data.stride = spa_format_samplesize(data.format) * data.channels; - data.latency = 20000; // looks like microseconds + data.latency = 200000; // looks like microseconds nom = nearbyint((data.latency * data.rate) / 1000000.0);