~EngineControl ();
static bool engine_running ();
- int start_engine ();
- int stop_engine ();
+ int setup_engine ();
+ void discover_servers ();
+
+ bool was_used() const { return _used; }
+ XMLNode& get_state ();
+ void set_state (const XMLNode&);
private:
Gtk::Adjustment periods_adjustment;
Gtk::Table basic_packer;
Gtk::Table options_packer;
Gtk::Table device_packer;
-
+ Gtk::HBox basic_hbox;
+ Gtk::HBox options_hbox;
+ Gtk::HBox device_hbox;
Gtk::Notebook notebook;
+
+ bool _used;
void realtime_changed ();
void driver_changed ();
-
void build_command_line (std::vector<std::string>&);
- Glib::Pid engine_pid;
- int engine_stdin;
- int engine_stdout;
- int engine_stderr;
std::map<std::string,std::vector<std::string> > devices;
- void enumerate_devices ();
-#ifdef __APPLE
+ std::vector<std::string> backend_devs;
+ void enumerate_devices (const string& driver);
+
+#ifdef __APPLE__
std::vector<std::string> enumerate_coreaudio_devices ();
#else
std::vector<std::string> enumerate_alsa_devices ();
void redisplay_latency ();
uint32_t get_rate();
void audio_mode_changed ();
+ std::vector<std::string> server_strings;
+ int server_row;
void find_jack_servers (std::vector<std::string>&);
+ std::string get_device_name (const std::string& driver, const std::string& human_readable_name);
};
#endif /* __gtk2_ardour_engine_dialog_h__ */