- [NEW] JA_PlaySoundOnChannel(JA_Sound_t *sound, const int channel, const int loop = 0);

This commit is contained in:
2024-12-28 10:59:25 +01:00
parent 774aebf4a4
commit f5ee23cea3
2 changed files with 14 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ JA_Sound_t *JA_NewSound(Uint8* buffer, Uint32 length);
JA_Sound_t *JA_LoadSound(Uint8* buffer, Uint32 length);
JA_Sound_t *JA_LoadSound(const char* filename);
int JA_PlaySound(JA_Sound_t *sound, const int loop = 0);
int JA_PlaySoundOnChannel(JA_Sound_t *sound, const int channel, const int loop = 0);
void JA_PauseChannel(const int channel);
void JA_ResumeChannel(const int channel);
void JA_StopChannel(const int channel);