I’m totally new to FMOD, so please forgive me a probably stupid question.
I began by initializing FMOD with the following command:
FSOUND_Init(44100, 32, 0)
I can play MP3 Samples and I can play an XM file. However, when I tried to do both at the same time, the XM file playback was always working, but the samples were not anymore. After executing the playsound function like this:
I always got the error “Failed to allocate a new channel”. This happened even when I tried to play just one sample with that one XM song running. So I tried initializing FMOD with 64 software channels and then it worked! But I am not sure why it needs so many channels and also if it will work on low-end machines. How many software channels should a typical pentium 133 with a low-end soundcard be able to initilize?
Also, what happens when I choose a too high number? Will FMOD initialize the maximum available amount of channels or will it refuse to work at all? I tried to blow up my computer with 5000 software channels, but it does not seem to have had any effect.
Thanks in ahead for your time! 😛
- You must login to post comments