resample

expect fun resample(targetSampleRate: Int): LiteRtAudio

Returns a copy of this audio data resampled to the target sample rate.