I want to get the volume of a certain channel, so I call FSOUND_GetVolume(channel). But this method returns 0 when volume is 0 or when this method failed ! In the docs it says that you have to check if it is a real error using FSOUND_GetError(). But which error do you get in this sitation ? Is it a FMOD_ERR_INVALID_PARAM, so I can do something like this :
[code:3562lk5p]float volume = FSOUND_GetVolume(channel);
//volume == 0
}[/code:3562lk5p] Are am I wrong ?
- Caroline asked 11 years ago
- You must login to post comments