diff options
| author | Uneven Prankster <unevenprankster@protonmail.com> | 2023-10-15 21:28:29 -0300 |
|---|---|---|
| committer | Uneven Prankster <unevenprankster@protonmail.com> | 2023-10-15 21:28:29 -0300 |
| commit | 1c0cc775732201f4c4d3ee0d6772be786b3b4aa1 (patch) | |
| tree | f5d692d046868261275c7430a624c3ea9ed75d3d /src/audio_sys.h | |
| parent | a89f892640cf12f75c7ce18e6e88c70a8d3965ed (diff) | |
A lot has certainly happened!
Diffstat (limited to 'src/audio_sys.h')
| -rw-r--r-- | src/audio_sys.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/audio_sys.h b/src/audio_sys.h deleted file mode 100644 index 9607189..0000000 --- a/src/audio_sys.h +++ /dev/null @@ -1,29 +0,0 @@ -#pragma once - -#include "config.h" - -// 8 max -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 -void load_music(const char* path); -void play_music(void); - -// It would be more convenient if the files had this info -// But it's better to just let you control this for now. -void set_music_loop(b32 loop); -void set_music_loop_point(f32 point); - -void pause_music(void); -void resume_music(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 |
