1519725d4a
- [NEW] JA_SetMusicPosition() i JA_GetMusicPosition(), per a obtindre o especificar la posició de la música en segons (decimals).
2024-11-26 14:37:23 +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