RiffPcmEncoder class

Constructors

RiffPcmEncoder(number, number)

Properties

encode

Constructor Details

RiffPcmEncoder(number, number)

new RiffPcmEncoder(actualSampleRate: number, desiredSampleRate: number)

Parameters

actualSampleRate
number
desiredSampleRate
number

Property Details

encode

encode: (needHeader: boolean, actualAudioFrame: Float32Array) => ArrayBuffer

Property Value

(needHeader: boolean, actualAudioFrame: Float32Array) => ArrayBuffer