Commit Graph

24 Commits

Author SHA1 Message Date
5158d95e3d - Prova amb update explicit 2025-07-24 18:06:48 +02:00
7d591bb028 - [NEW] Afegits grups de sons, per a fer el volum de cada grup independent. 2025-07-01 09:09:12 +02:00
45e14f3ff7 - [NEW] Afegit JA_GetMusicFilename() perque me fa falta pal AEE 2025-06-29 13:15:47 +02:00
4c46581ae1 - [FIX] Els sonsse tallaven en compte de usar un nou canal.
- [FIX] La repetició de sons no infinita no funcionava.
2025-06-25 08:11:17 +02:00
c61f02faff - Ultims commits de la rama principal aplicats (no probat) 2025-03-27 12:04:43 +01:00
d7d813718c - Pas complet a SDL3 2024-11-06 20:23:35 +01:00
f0687f9f4d - [NEW] JA_LoadMusic() i JA_LoadSound() ara també accepten un buffer de uint8_t* i un tamany, a l'hora de carregar.
- [FIX] JA_PlaySound() de vegades no tornava res
2024-10-06 15:06:11 +02:00
cd2f18212b - [NEW] JA_SetMusicVolume(int volume)
- [NEW] JA_EnableMusic(const bool value)
- [NEW]  JA_SetSoundVolume(int volume)
- [NEW] JA_EnableSound(const bool value)
2024-05-31 18:25:11 +02:00
c79150b24a - Types changed, SDL_Mixer version included 2022-12-01 19:42:20 +01:00
debd80f6af - Removed volume per channel
- [NEW] JA_SetSoundVolume sets volume for all sound effects
- [NEW] JA_SetMusicVolume sets volume for the music
- JA_SetVolume works as always: sets volume for both, with sounds volume halved.
2022-11-24 16:10:33 +01:00
42986dd46a - Reorganització de la capçalera 2022-11-24 15:50:31 +01:00
cc7ef78d59 - [NEW] int JA_SetChannelVolume(const int channel, int volume) 2022-11-24 15:40:02 +01:00
cb1154cb20 - JA_Init() now prevents bad multi-init
- [NEW] JA_Quit()
2022-10-07 17:28:20 +02:00
52df28a4f0 New stb_vorbis version added. OGG loading time optimized. 2022-08-28 09:07:37 +02:00
1ba349f6c3 Afegit "int JA_SetVolume(int volume);" 2022-08-28 08:16:30 +02:00
1623654564 Added function to create new sound from raw buffer 2021-03-26 15:36:11 +01:00
852710d15d JA_GetMusicState & JA_GetChannelState replace paused ones 2021-02-07 22:06:21 +01:00
0b9b2eb511 Channels can be paused, resumed, stopped... 2021-02-04 17:01:00 +01:00
55c9a0ddba WAVs can loop, and OGG and WAV loops can be finite 2021-02-04 14:37:57 +01:00
ac5421a340 OGGs preloading, deleting... 2021-02-04 14:18:45 +01:00
0dbb1d39b2 JA_RestartMusic() renamed to JA_ResumeMusic() 2021-02-03 21:45:05 +01:00
377c760e45 JA_IsMusicPlaying() added 2021-02-03 21:39:28 +01:00
3cc806bd17 Frequency, format and channels are configurable 2021-02-02 21:18:07 +01:00
6ce37e56e7 First commit 2021-02-02 19:03:48 +01:00