1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix issue causing the Android editor to crash when creating a new AudioStreamMicrophone

Fixes https://github.com/godotengine/godot/issues/73801
This commit is contained in:
Fredia Huya-Kouadio
2023-05-31 00:11:53 -07:00
parent b71701714f
commit 9c334fa242
6 changed files with 86 additions and 17 deletions

View File

@@ -276,7 +276,8 @@ Error AudioDriverOpenSL::capture_start() {
return capture_init_device();
}
return OK;
WARN_PRINT("Unable to start audio capture - No RECORD_AUDIO permission");
return ERR_UNAUTHORIZED;
}
Error AudioDriverOpenSL::capture_stop() {