write_flac

Function write_flac 

Source
pub fn write_flac<W: Write + Seek, R: Read>(
    header: &PcmFormat,
    reader: R,
    writer: W,
    config: &ExtraConfig,
) -> Result<()>
Available on crate feature audio-flac only.
Expand description

Writes lossless audio data to a flac file.

  • header - The PCM format header.
  • reader - The reader to read audio data from.
  • writer - The writer to write audio data to.
  • config - Extra configuration options.