Ambisonic format create/write

This commit is contained in:
Jamie Hardt
2020-12-26 13:52:52 -08:00
parent 3ab3a28d0e
commit 70bf402776
3 changed files with 21 additions and 6 deletions

View File

@@ -191,9 +191,9 @@ impl<W> WaveWriter<W> where W: Write + Seek {
/// Write Broadcast-Wave metadata to the file.
///
/// This function will write the metadata chunk immediately; if you have
/// already written and closed the audio data the bext chunk will be
/// positioned after it.
/// This function will write the metadata chunk immediately to the end of
/// the file; if you have already written and closed the audio data the
/// bext chunk will be positioned after it.
fn write_broadcast_metadata(self, bext: &Bext) -> Result<Self,Error> {
let mut b = self.chunk(BEXT_SIG)?;
b.write_bext(bext)?;