calculate Audio Level
Calculates the audio level of a range of bytes.
Return
The calculated audio level.
Parameters
samples
The audio samples.
offset
The offset from the start of the samples array.
length
The number of samples to process for the calculation.
Calculates the audio level of a range of shorts.
Return
The calculated audio level.
Parameters
samples
The audio samples.
offset
The offset from the start of the samples array.
length
The number of samples to process for the calculation.