oa::audio::encode_wav_f32

Read planar device samples and encode lossless IEEE-float WAV bytes. This is an explicit blocking host-observation boundary. Errors Returns an error when readback fails or the resulting WAV exceeds checked allocation or RIFF header limits.

FnRust public API

Function Documentation

pub fn encode_wav_f32( audio: &Audio ) -> Result<Vec<u8>>
Read planar device samples and encode lossless IEEE-float WAV bytes. This is an explicit blocking host-observation boundary. Errors Returns an error when readback fails or the resulting WAV exceeds checked allocation or RIFF header limits.