0
0

There must be something wrong in my code but a sample with a default priority of 1 seems to steal my channel with priority 200 looping another sample. Can/should this happen?

I manually use channel 0. Before calling FSOUND_PlaySound for the sample with priority 1 (as returned by FSOUND_Sample_GetDefaults) a call to FSOUND_GetPriority(0) returns a channel priority of 200 (as is the default priority of the sample that currently loops on channel 0). Nevertheless FSOUND_PlaySound(0, sample) succeeds and steals the channel.

Any idea? More info needed?

  • You must to post comments
0
0

Btw. this also happens when I limit the number of channels to 1 and use FSOUND_FREE for channel allocation.

  • You must to post comments
0
0

It works now. Thanks for the quick fix! :)

Btw. what’s the order fmod checks with this new priority system? First “base” priority, then 3d distance, then volume? Or is it “base” priority, volume, distance?

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.