[HTML5] Fix errors when Mic is not allowed.
This commit is contained in:
1 parent
a28d5e2be7
commit
eb2152538c
3 files changed
+20
-12
No files matched your search
@@ -189,7 +189,9 @@ Error AudioDriverJavaScript::capture_start() {
|
||||
lock();
|
||||
input_buffer_init(buffer_length);
|
||||
unlock();
|
||||
godot_audio_capture_start();
|
||||
if (godot_audio_capture_start()) {
|
||||
return FAILED;
|
||||
}
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user