Hi,

Airplay hardware has a inherent latency of at least 2 seconds, with
2350ms being a common value.

-- 
Colin
From a08262dcf1b4d0c5251070b1b78e0ab6cbc63a58 Mon Sep 17 00:00:00 2001
From: Colin Leroy <[email protected]>
Date: Fri, 6 Oct 2017 20:20:16 +0200
Subject: [PATCH] Set latency offset's maximum to 5000ms

Airplay hardware has a inherent latency of at least 2 seconds, with
2350ms being a common value.
---
 src/devicewidget.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/devicewidget.cc b/src/devicewidget.cc
index 5831f21..18d6714 100644
--- a/src/devicewidget.cc
+++ b/src/devicewidget.cc
@@ -65,10 +65,10 @@ DeviceWidget::DeviceWidget(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Buil
         channelWidgets[i] = NULL;
 
 #ifdef HAVE_GTK3
-    offsetAdjustment = Gtk::Adjustment::create(0.0, -2000.0, 2000.0, 10.0, 50.0, 0.0);
+    offsetAdjustment = Gtk::Adjustment::create(0.0, -2000.0, 5000.0, 10.0, 50.0, 0.0);
     offsetButton->configure(offsetAdjustment, 0, 2);
 #else
-    offsetAdjustment = new Gtk::Adjustment(0.0, -2000.0, 2000.0, 10.0, 50.0, 0.0);
+    offsetAdjustment = new Gtk::Adjustment(0.0, -2000.0, 5000.0, 10.0, 50.0, 0.0);
     offsetButton->configure(*offsetAdjustment, 0.0, 2);
 #endif  /* HAVE_GTK3 */
 }
-- 
2.11.0

Attachment: pgptRJiqNK50m.pgp
Description: OpenPGP digital signature

_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to