unify BarController with Slider/Pixfader.
[ardour.git] / gtk2_ardour / engine_dialog.h
index 3e3f9b82fb6d21a9eb32b27d1856443fb9de8e17..4ace11efff30a30c4df07b21f6e262b93d775215 100644 (file)
@@ -190,7 +190,9 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList {
        std::vector<MidiDeviceSettings> midi_devices;
 
        StateStruct()
-               : input_latency (0)
+               : sample_rate (48000)
+               , buffer_size (1024)
+               , input_latency (0)
                , output_latency (0)
                , input_channels (0)
                , output_channels (0)
@@ -219,6 +221,7 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList {
     void build_full_control_notebook ();
     void build_no_control_notebook ();
 
+    void on_show ();
     void on_response (int);
     void control_app_button_clicked ();
     void use_latency_button_clicked ();