mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
handle failure to start audioengine correctly
git-svn-id: svn://localhost/ardour2/branches/3.0@13033 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
40d8d1d985
commit
70e8933151
2 changed files with 5 additions and 1 deletions
|
|
@ -1053,6 +1053,7 @@ EngineControl::get_device_name (const string& driver, const string& human_readab
|
||||||
another computer system in it
|
another computer system in it
|
||||||
*/
|
*/
|
||||||
MessageDialog msg (_("You need to choose an audio device first."));
|
MessageDialog msg (_("You need to choose an audio device first."));
|
||||||
|
msg.set_position (WIN_POS_MOUSE);
|
||||||
msg.run ();
|
msg.run ();
|
||||||
return string();
|
return string();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -623,7 +623,10 @@ void
|
||||||
ArdourStartup::on_apply ()
|
ArdourStartup::on_apply ()
|
||||||
{
|
{
|
||||||
if (engine_dialog) {
|
if (engine_dialog) {
|
||||||
engine_dialog->setup_engine ();
|
if (engine_dialog->setup_engine ()) {
|
||||||
|
set_current_page (audio_page_index);
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config_modified) {
|
if (config_modified) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue