diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-12-09 20:35:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-09 20:35:46 +0100 |
commit | d8825fb253dbdf8b149f678b35a45fb3763a0d97 (patch) | |
tree | f88497cace08b7e67f30441a83d81467b1308063 /platform/javascript/audio_driver_javascript.cpp | |
parent | bc30df831c380ed25796f02575fefece83669733 (diff) | |
parent | eb2152538c0549146341b16251f4abcfb79df1f5 (diff) |
Merge pull request #44221 from Faless/js/4.x_editor_beta
[HTML5] Editor style, audio fixes
Diffstat (limited to 'platform/javascript/audio_driver_javascript.cpp')
-rw-r--r-- | platform/javascript/audio_driver_javascript.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/javascript/audio_driver_javascript.cpp b/platform/javascript/audio_driver_javascript.cpp index dd982bc3a8..78fbed6d0f 100644 --- a/platform/javascript/audio_driver_javascript.cpp +++ b/platform/javascript/audio_driver_javascript.cpp @@ -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; } |