handle | The channel handle.
|
levels | An array to receive the levels.
|
length | The amount of data to inspect to calculate the level, in seconds. The maximum is 1 second. Less data than requested may be used if the full amount is not available, eg. if the source's buffer (determined by the BASS_CONFIG_MIXER_BUFFER config option) is shorter.
|
flags | A combination of these flags.
BASS_LEVEL_MONO | Get a mono level. If neither this or the BASS_LEVEL_STEREO flag is used, then a separate level is retrieved for each channel.
| BASS_LEVEL_STEREO | Get a stereo level. The left level will be from the even channels, and the right level will be from the odd channels. If there are an odd number of channels then the left and right levels will both include all channels.
| BASS_LEVEL_RMS | Get the RMS level. Otherwise the peak level.
| BASS_LEVEL_VOLPAN | Apply the current BASS_ATTRIB_VOL and BASS_ATTRIB_PAN values to the level reading.
|
|