Retrieves the level (peak amplitude) of a stream channel.
| Syntax |
Return DWORD = BASS_ChannelGetLevelRight(handle)
| Parameters |
DWORD
The channel handle... a HCHANNEL or HSTREAM handle.
| Returns |
If an error occurs, -1 is returned, use BASS_ErrorGetCode to get the error code. If successful, the level of the left channel is returned in the low word (low 16-bits), and the level of the right channel is returned in the high word (high 16-bits). If the channel is mono, then the low word is duplicated in the high word. The level ranges linearly from 0 (silent) to 32768 (max). 0 will be returned when a channel is stalled.
| See also |