boostPcm16Volume

fun boostPcm16Volume(pcm16Data: ByteArray, decibelBoost: Int): ByteArray

Increases the volume of PCM16 audio data. NOTE: This is for display purpose only and should NOT be performed on the audio file sent to the backend.

Return

The PCM16 formatted audio data with the increased volume.

Parameters

pcm16Data

The PCM16 formatted audio data to boost.

decibelBoost

The number of decibels to increase the audio by.