From a89f892640cf12f75c7ce18e6e88c70a8d3965ed Mon Sep 17 00:00:00 2001 From: Uneven Prankster Date: Sat, 23 Sep 2023 19:28:45 -0300 Subject: things can always be nicer :D --- src/audio_sys.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/audio_sys.h') diff --git a/src/audio_sys.h b/src/audio_sys.h index 8a5b6cc..9607189 100644 --- a/src/audio_sys.h +++ b/src/audio_sys.h @@ -6,11 +6,12 @@ i32 load_audio(const char* path); void play_audio(i32 idx); void pause_audio(i32 idx); +void resume_audio(i32 idx); // Only one at any given time. // In the future you can load a second one // It'll be a copy of the one from my Godot games -i32 load_music(const char* path); +void load_music(const char* path); void play_music(void); // It would be more convenient if the files had this info @@ -19,8 +20,10 @@ void set_music_loop(b32 loop); void set_music_loop_point(f32 point); void pause_music(void); -void replay_music(void); +void resume_music(void); -void update_audio_sys(void); +void set_main_vol(f32 vol); + +void update_audio(void); void unload_active_audio(void); void unload_current_music(void); \ No newline at end of file -- cgit v1.2.3