I wanted to separate this issue from my other threads. Some of the time when I call FSOUND_3D_SetAttributes() it returns FALSE and when I call GetError it just says it was passed an invalid parameter.
I’m only passing in the channel and the position…velocity is NULL. What could be wrong?
Even if my position is “wrong”, as long as it’s just 3 floats I can’t imagine it’s invalid. So it must be the channel. In what circumstances would the channel be wrong?
After a PlaySound I return the channel and save that value. Whenever I do anything to that sound, I reference the saved channel. When I get the error, the channel does match what I get from PlaySound and it’s not -1.
- garner42 asked 13 years ago
- You must login to post comments