diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2015-02-06 13:55:00 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2015-02-06 13:55:00 -0600 |
commit | af174c051910332ef12afde1f3a1845c17ea7624 (patch) | |
tree | cfcd600764b81e351318ad2e3c5666b3982b2fd7 /gtk2_ardour | |
parent | 63a1b56560df7f56c8d25c93d0ffeb30997e9325 (diff) |
when the user changes devices, notify the backend
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/engine_dialog.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/engine_dialog.cc b/gtk2_ardour/engine_dialog.cc index 1c225a5475..a32ccf146e 100644 --- a/gtk2_ardour/engine_dialog.cc +++ b/gtk2_ardour/engine_dialog.cc @@ -898,6 +898,9 @@ EngineControl::device_changed () assert (backend); string device_name = device_combo.get_active_text (); vector<string> s; + + //the device name must be set FIRST so ASIO can populate buffersizes and the control panel button + backend->set_device_name(device_name); { PBD::Unwinder<uint32_t> protect_ignore_changes (ignore_changes, ignore_changes + 1); |