mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-31 20:11:29 +00:00
maybe fix audio backend not changing post-failure
This commit is contained in:
parent
d0457a2e1b
commit
7599f99ca0
1 changed files with 2 additions and 0 deletions
|
@ -6144,6 +6144,7 @@ bool DivEngine::initAudioBackend() {
|
||||||
logE("error while initializing audio!\n");
|
logE("error while initializing audio!\n");
|
||||||
delete output;
|
delete output;
|
||||||
output=NULL;
|
output=NULL;
|
||||||
|
audioEngine=DIV_AUDIO_NULL;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6155,6 +6156,7 @@ bool DivEngine::deinitAudioBackend() {
|
||||||
output->quit();
|
output->quit();
|
||||||
delete output;
|
delete output;
|
||||||
output=NULL;
|
output=NULL;
|
||||||
|
audioEngine=DIV_AUDIO_NULL;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue