diff options
| author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-12-03 12:51:17 +0100 |
|---|---|---|
| committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-12-04 23:21:33 +0100 |
| commit | 1167ab96e9be2a86b1315693b843820eef978685 (patch) | |
| tree | c2702554e7696e0cf6344a61b37a332c82f27229 /platform/javascript/godot_audio.h | |
| parent | ea7dd1be36abc528f39e7c42725267d01774983b (diff) | |
| download | redot-engine-1167ab96e9be2a86b1315693b843820eef978685.tar.gz | |
[HTML5] Add function signatures to JS libraries.
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); |
