[−][src]Function wav::write
pub fn write(
header: Header,
track: BitDepth,
writer: &mut dyn Write
) -> Result<()>
Writes the given wav data to the given Write
object.
Errors
This function fails under the following circumstances:
- Any error occurring from the
writer
parameter during writing. - The path to the desired file destination couldn't be created.
- The given BitDepth is
BitDepth::Empty