fromRaw

expect fun fromRaw(data: FloatArray, sampleRate: Int, channels: Int): LiteRtAudio

Creates a LiteRtAudio instance from raw PCM float data.

Parameters

data

The PCM float data.

sampleRate

The sample rate of the audio.

channels

The number of channels.