int index,
const char *name,
unsigned int inputmode,
int memlength

the first parameter (index) is
Sample pool index. 0 or above – The absolute index into the sample pool.

int mixrate,
int maxsoftwarechannels,
unsigned int flags

The second parameter (maxsoftwarechannels) is Maximum number of SOFTWARE channels available.

I just wondering there is any releationship between these 2 parameters?
Usually we set the max channel to 32, so the max sample pool index is 31? (0-31)
I did a test. set the index in FSOUND_Sample_Load to a number higher than 31 – no any sound. When I set it to 0-31, it works good. Am I right?

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.