- [FIX] Els sonsse tallaven en compte de usar un nou canal.

- [FIX] La repetició de sons no infinita no funcionava.
This commit is contained in:
2025-06-25 08:11:17 +02:00
parent b03ff65c4c
commit 4c46581ae1
2 changed files with 11 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ enum JA_Music_state { JA_MUSIC_INVALID, JA_MUSIC_PLAYING, JA_MUSIC_PAUSED, JA_MU
struct JA_Sound_t;
struct JA_Music_t;
void JA_Init(const int freq, const SDL_AudioFormat format, const int channels);
void JA_Init(const int freq, const SDL_AudioFormat format, const int num_channels);
void JA_Quit();
JA_Music_t *JA_LoadMusic(const char* filename);