canvas items must be able to use fractional positions when rendering.
[ardour.git] / gtk2_ardour / engine_dialog.cc
index 1c225a5475dbdae62d48cab038836bd02c3970da..a32ccf146e81a8486721af2e2ba9be1f14f879dd 100644 (file)
@@ -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);