From f5d71a9b23ca97c95f6354c2a114b18154eb8a51 Mon Sep 17 00:00:00 2001 From: YPozdnyakov Date: Tue, 17 Feb 2015 11:53:37 +0200 Subject: [PATCH] [Summary]: Tracks doesn't use dialog "Sample Rate Mismatch". --- gtk2_ardour/ardour_ui.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index ff0d8776d5..8dfe9a0b0c 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -4391,7 +4391,8 @@ what you would like to do.\n"), PROGRAM_NAME), int ARDOUR_UI::sr_mismatch_dialog (framecnt_t desired, framecnt_t actual) { - +// Tracks doesn't use it +/* WavesMessageDialog message_dialog (_("Sample Rate Mismatch"), string_compose (_("\ This session was created with a sample rate of %1 Hz, but\n\ @@ -4406,7 +4407,8 @@ audio may be played at the wrong sample rate.\n"), message_dialog.set_position (WIN_POS_CENTER); int result = message_dialog.run (); - +*/ + int result = Gtk::RESPONSE_ACCEPT; return (result == Gtk::RESPONSE_ACCEPT || result == WavesDialog::RESPONSE_DEFAULT) ? 0 : 1; }