I have a small problem with sfx
This is how I play sfx:
Code: Select all
sfxhnd_t boom = snd_sfx_load("/rom/boom.wav");
snd_sfx_play(boom, 255, 128);
At the same time I use the ogg library to play the music, maybe we can not use the lib ogg and the sfx together?
I specify that I use wav 16 bit sounds for sfx
Thank you in advance for your answers
Solved : It looks like value 255 is not accepted, so I changed the snd_sfx_play call like this:
Code: Select all
snd_sfx_play(boom, 254, 128);