diff options
author | Emmanouil Papadeas <manoschool@yahoo.gr> | 2023-02-08 17:40:15 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-09 11:02:00 +0100 |
commit | c36460060ea434158c2069d696880cbaf4431123 (patch) | |
tree | 79e045ef1939b8daad696cc0a074778f9c61ae53 /platform/web/godot_audio.h | |
parent | d69809cab603cae9f525768337affe5e12e454a8 (diff) |
Further refactoring to AudioDriver implementations after #69120.
- Rename all instances of `capture_start()` and `capture_end()` to their new
names. Fixes #72892.
- More internal renames to match what was started in #69120.
- Use `override` consistently so that such refactoring bugs can be caught.
- Harmonize the order of definition of the overridden virtual methods in each
audio driver.
- Harmonize prototype for `set_output_device` and `set_input_device`.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Diffstat (limited to 'platform/web/godot_audio.h')
-rw-r--r-- | platform/web/godot_audio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/web/godot_audio.h b/platform/web/godot_audio.h index d7bff078f8..c6f92161fa 100644 --- a/platform/web/godot_audio.h +++ b/platform/web/godot_audio.h @@ -43,8 +43,8 @@ extern int godot_audio_has_script_processor(); extern int godot_audio_init(int *p_mix_rate, int p_latency, void (*_state_cb)(int), void (*_latency_cb)(float)); extern void godot_audio_resume(); -extern int godot_audio_capture_start(); -extern void godot_audio_capture_stop(); +extern int godot_audio_input_start(); +extern void godot_audio_input_stop(); // Worklet typedef int32_t GodotAudioState[4]; |