0
0

why
FSOUND_GetMaxChannels != FSOUND_GetNumHardwareChannels() + maxsoftwarechannels (<- Set in FSOUND_Init) ????

i am confused…

gruebel

  • You must to post comments
0
0

Basically, when initialise, FMOD creates the number of software channels you ask for.

If the minimum hardware 3d channels is set to greater than the number of avaliable channels, no hardware channels are made avaliable. If the maximum hardware channels is set to less than the number of avaliable channels, only that number of channels are made avaliable.

The confusion comes from the hardware 2d channels. For some reason (possibly a bug since brett says there are always 32?) these are also effected by the maximum hardware channels and minimum channel settings. If minimum hardware channels is set to more than 32, NO hardware 2d channels are created. If maximum hardware channels is set to less than 32, only that many channels are created. Otherwise, 32 are created.

Some test samples:

Initialised with 0 software channels.
Hardware3d channels detected: 31
Total Channels: 63

Initialised with 0 software channels and max hardware channels 0.
Total Channels: 0

Initialised with 0 software channels and max hardware channels 1.
Total Channels: 2

Initialised with 1 software channel and max hardware channels 1.
Total Channels: 3

Initialised with 1 software channels and max hardware channels 31.
Total Channels: 63

Initialised with 1 software channel and min hardware channels 50.
Total Channels: 1
Hardware 3d Channels: 0

Initialised with 0 software channels and min hardware channels 32.
Total Channels: 32
Hardware 3d Channels: 0

Initialised with 1 software channel and max hardware channels 50.
Total Channels: 64
Hardware 3d Channels: 31

  • You must to post comments
0
0

oha oh oh……

thx so far….

gruebel guebel… 😉

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.