Skip to main content

save_wav

Function save_wav 

Source
pub fn save_wav<P: AsRef<Path>>(
    path: P,
    samples: &[f32],
    sample_rate: u32,
    channels: u16,
) -> Result<(), WavError>
Expand description

Save audio samples to a WAV file.