} else {
s << std::fixed << std::setprecision (2) << (nframes / (_latency_gui->sample_rate / 1000.0)) << " msecs";
}
-
+
return s.str ();
}
unit_strings = I18N (_unit_strings);
}
- set_popdown_strings (units_combo, unit_strings);
+ set_popdown_strings (units_combo, unit_strings);
units_combo.set_active_text (unit_strings.front());
w = manage (new Image (Stock::ADD, ICON_SIZE_BUTTON));
: ArdourDialog (title, false, true),
lwidget (l, sr, psz)
{
-
+
get_vbox()->pack_start (lwidget);
add_button (Stock::CANCEL, RESPONSE_CANCEL);
add_button (Stock::APPLY, RESPONSE_REJECT);
add_button (Stock::OK, RESPONSE_ACCEPT);
show_all ();
-
+
while (true) {
int ret = run ();