mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
[HTML5] Fix errors when Mic is not allowed.
This commit is contained in:
parent
a7126e7153
commit
0a67b23913
3 changed files with 20 additions and 12 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue