- JA_Init() now prevents bad multi-init

- [NEW] JA_Quit()
This commit is contained in:
2022-10-07 17:28:20 +02:00
parent 975fcfd81a
commit cb1154cb20
2 changed files with 19 additions and 8 deletions

View File

@@ -8,6 +8,7 @@ typedef struct JA_Sound_t *JA_Sound;
typedef struct JA_Music_t *JA_Music;
void JA_Init(const int freq, const SDL_AudioFormat format, const int channels);
void JA_Quit();
JA_Music JA_LoadMusic(const char* filename);
void JA_PlayMusic(JA_Music music, const int loop = -1);