mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
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:
parent
58dd0198e6
commit
418f2ff20a
3 changed files with 106 additions and 241 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue