[pulseaudio-commits] src/devicewidget.cc
Tanu Kaskinen
tanuk at kemper.freedesktop.org
Sun Oct 8 17:03:46 UTC 2017
src/devicewidget.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 335c26c57c18d95cc7d4ca693a75ef94fe919e1d
Author: Colin Leroy <colin at colino.net>
Date: Fri Oct 6 20:20:16 2017 +0200
devicewidget: Set latency offset's maximum to 5000ms
Airplay hardware has a inherent latency of at least 2 seconds, with
2350ms being a common value.
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 */
}
More information about the pulseaudio-commits
mailing list