]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Actually _do_ change the latency to 200000 in the PipeWire backend as previously...
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Wed, 27 Sep 2023 11:38:02 +0000 (12:38 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Wed, 27 Sep 2023 11:38:02 +0000 (12:38 +0100)
audio_pw.c

index ee28fa5134ba3ab9ff46e944ac376cebc47cef4b..18820042e57d50a7c751694ce9d87b86f181d223 100644 (file)
@@ -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);