Fix crash when no audio driver is available
This commit is contained in:
parent
d6b392825f
commit
7a4c0ff35e
13 changed files with 53 additions and 83 deletions
|
|
@ -143,7 +143,7 @@ Error AudioDriverRtAudio::init() {
|
|||
}
|
||||
}
|
||||
|
||||
return OK;
|
||||
return active ? OK : ERR_UNAVAILABLE;
|
||||
}
|
||||
|
||||
int AudioDriverRtAudio::get_mix_rate() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue