save and restore audio/MIDI setup states to disk (in ardour.rc)

Not finished because the buffer size value will not always stick during restore
This commit is contained in:
Paul Davis 2013-09-04 19:34:43 -04:00
parent 58dd0198e6
commit 418f2ff20a
3 changed files with 106 additions and 241 deletions

View file

@ -120,11 +120,15 @@ class EngineControl : public Gtk::VBox {
void reshow_buffer_sizes (bool choice_changed);
struct State {
std::string backend;
std::string driver;
std::string device;
std::string sample_rate;
std::string buffer_size;
std::string backend;
std::string driver;
std::string device;
std::string sample_rate;
std::string buffer_size;
std::string input_latency;
std::string output_latency;
std::string input_channels;
std::string output_channels;
};
typedef std::list<State> StateList;