diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-09-10 15:41:19 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-09-10 15:41:19 -0400 |
commit | 209e4bdcaed8e0f7d66fa5673f9049948e1f1d53 (patch) | |
tree | bdf1ffca2a5f1f20ac652e6803a77cfcf8278363 /gtk2_ardour/engine_dialog.h | |
parent | a6815efb86e5091ce82f66ddfb60b2b2cffc587a (diff) |
many changes relating to session construction and audioengine interaction
every session member is now initialized using C++ constructor syntax
session construction reordered to clarify the split(s) between work
where the engine is not relevant and work where is it is. this
split is still not 100% obvious, but is enormously clearer than
previously.
if engine/backend are not running as session is created, and the SR
of the sample rate is known, attempt to force backend to that value.
Diffstat (limited to 'gtk2_ardour/engine_dialog.h')
-rw-r--r-- | gtk2_ardour/engine_dialog.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/gtk2_ardour/engine_dialog.h b/gtk2_ardour/engine_dialog.h index cdeb18a2c7..a92d0629f2 100644 --- a/gtk2_ardour/engine_dialog.h +++ b/gtk2_ardour/engine_dialog.h @@ -37,14 +37,16 @@ class EngineControl : public ArdourDialog { public: - EngineControl (); - ~EngineControl (); - - static bool need_setup (); - - XMLNode& get_state (); - void set_state (const XMLNode&); - + EngineControl (); + ~EngineControl (); + + static bool need_setup (); + + XMLNode& get_state (); + void set_state (const XMLNode&); + + void set_desired_sample_rate (uint32_t); + private: Gtk::Notebook notebook; @@ -153,6 +155,7 @@ class EngineControl : public ArdourDialog { void control_app_button_clicked (); void manage_control_app_sensitivity (); int push_state_to_backend (bool start); + uint32_t _desired_sample_rate; }; #endif /* __gtk2_ardour_engine_dialog_h__ */ |