Channels can be paused, resumed, stopped...

This commit is contained in:
2021-02-04 17:01:00 +01:00
parent 55c9a0ddba
commit 0b9b2eb511
3 changed files with 109 additions and 80 deletions

View File

@@ -15,5 +15,9 @@ bool JA_IsMusicPlaying();
void JA_DeleteMusic(JA_Music music);
JA_Sound JA_LoadSound(const char* filename);
void JA_PlaySound(JA_Sound sound, const int loop = 0);
int JA_PlaySound(JA_Sound sound, const int loop = 0);
void JA_PauseChannel(const int channel);
void JA_ResumeChannel(const int channel);
void JA_StopChannel(const int channel);
bool JA_IsChannelPlaying(const int channel);
void JA_DeleteSound(JA_Sound sound);