mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Try restore the recently used state after device-list refresh
This takes into account if the device is present, and picks the most recently used state for the available devices.
This commit is contained in:
parent
c8cf84b7f9
commit
cbc6bccc36
2 changed files with 45 additions and 31 deletions
|
|
@ -272,7 +272,8 @@ private:
|
|||
|
||||
StateList states;
|
||||
|
||||
State get_matching_state (const std::string& backend);
|
||||
bool set_state_for_backend (const std::string& backend);
|
||||
|
||||
State get_matching_state (const std::string& backend,
|
||||
const std::string& driver,
|
||||
const std::string& device);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue