PCMUtil
Created by pedro on 3/07/17.
Functions
Link copied to clipboard
Link copied to clipboard
open fun resample(pcm: Array<Byte>, channels: Int, inputSampleRate: Int, outputSampleRate: Int): Array<Byte>
Resample pcm 16 bits little endian (mono or stereo) to the given sample rate.
open fun resample(pcm: Array<Byte>, inputChannels: Int, outputChannels: Int, inputSampleRate: Int, outputSampleRate: Int): Array<Byte>
Resample pcm 16 bits little endian to the given sample rate and convert channels in the same pass.