aboutsummaryrefslogtreecommitdiff
path: root/src/audio_sys.h
diff options
context:
space:
mode:
authorUneven Prankster <unevenprankster@protonmail.com>2023-09-23 19:28:45 -0300
committerUneven Prankster <unevenprankster@protonmail.com>2023-09-23 19:28:45 -0300
commita89f892640cf12f75c7ce18e6e88c70a8d3965ed (patch)
treee917bda607b86cb7c5bd80df2e5abf549d972163 /src/audio_sys.h
parent83505b7be49dbf7789deb814bd159d9c37181d05 (diff)
things can always be nicer :D
Diffstat (limited to 'src/audio_sys.h')
-rw-r--r--src/audio_sys.h9
1 files changed, 6 insertions, 3 deletions
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