0
0

What’s up with FSOUND_Stream_Play returning channel handles in excess of 4K? It’s really odd to me… if I pass in FSOUND_FREE as the channel handle, it returns 4096 + (actual channel used). Same if I pass in a hardcoded channel… say, specifying channel 2 returns 4098 from Play(). What’s really odd, is that these 4K+ handles seem to work fine with regular channel functions (i.e. passing 4096 to a channel function gives the same result as passing 0).

It’s probably nothing, but it’s still odd, and I’d like an explanation… 😕

  • You must to post comments
0
0

I saw something along the lines of…

[quote:33ra1vmk]You can use normal channel based commands (such as FSOUND_SetVolume etc) on the return handle, as it is a channel handle.[/quote:33ra1vmk]

…in the documentation, but I don’t know… the way that sentence is worded seems to imply that “channel handles” and “channel numbers” are one and the same, and should thus be the same value. This is what confused me.

By the way, I didn’t realize FMOD channels were reference counted… what’s the whole point of refcounting them anyway, when only one thing can play on any single channel at a time…

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.