Merge pull request #29728 from xsellier/bugfix/wasapi-driver-not-initialized

[2.1] If WASAPI driver not initialized, fail the init
This commit is contained in:
Rémi Verschelde 2019-06-12 23:14:53 +02:00 committed by GitHub
commit 43a5f5b366
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -243,6 +243,7 @@ Error AudioDriverWASAPI::init() {
Error err = init_device();
if (err != OK) {
ERR_PRINT("WASAPI: init_device error");
ERR_FAIL_V(err);
}
active = false;