diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-12-07 15:34:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-07 15:34:33 +0100 |
commit | e20011b0da4af68ecb4b267e46c43e30004494b5 (patch) | |
tree | 5385cc395fc2f50f3a62aec6e16b34cb01f37760 /platform/javascript/godot_audio.h | |
parent | 44a88244dee7e8996824aa29507e917b22ffccca (diff) | |
parent | dd9503dc1937e1469b2a6f8e145e80acbf2c7cbb (diff) |
Merge pull request #44076 from Faless/js/4.x_gdnative
[HTML5] Optional GDNative Support
Diffstat (limited to 'platform/javascript/godot_audio.h')
-rw-r--r-- | platform/javascript/godot_audio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/godot_audio.h b/platform/javascript/godot_audio.h index 7ebda3ad39..0ba6849715 100644 --- a/platform/javascript/godot_audio.h +++ b/platform/javascript/godot_audio.h @@ -48,7 +48,7 @@ extern void godot_audio_capture_stop(); typedef int32_t GodotAudioState[4]; extern void godot_audio_worklet_create(int p_channels); extern void godot_audio_worklet_start(float *p_in_buf, int p_in_size, float *p_out_buf, int p_out_size, GodotAudioState p_state); -extern void godot_audio_worklet_state_add(GodotAudioState p_state, int p_idx, int p_value); +extern int godot_audio_worklet_state_add(GodotAudioState p_state, int p_idx, int p_value); extern int godot_audio_worklet_state_get(GodotAudioState p_state, int p_idx); extern int godot_audio_worklet_state_wait(int32_t *p_state, int p_idx, int32_t p_expected, int p_timeout); |