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.
This commit is contained in:
parent
c7fb1ca9a8
commit
335c26c57c
|
@ -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 */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue