# AudioUtils

class AudioUtils

## Constructors

AudioUtils
Link copied to clipboard
constructor()

## Functions

applyVolume
Link copied to clipboard
fun applyVolume(buffer: ByteArray, volume: Float)
applyVolumeAndMix
Link copied to clipboard
fun applyVolumeAndMix(buffer: ByteArray, volume: Float, buffer2: ByteArray, volume2: Float, dst: ByteArray)
calculateAmplitude
Link copied to clipboard
fun calculateAmplitude(buffer: ByteArray): Float

Calculate amplitude peaks. Assume always pcm 16bit