mirror of
https://github.com/iluvcapra/bwavfile.git
synced 2026-01-02 18:00:44 +00:00
FIXME comments
This commit is contained in:
@@ -274,6 +274,7 @@ impl<W> WaveWriter<W> where W: Write + Seek {
|
|||||||
/// the file; if you have already written and closed the audio data the
|
/// the file; if you have already written and closed the audio data the
|
||||||
/// bext chunk will be positioned after it.
|
/// bext chunk will be positioned after it.
|
||||||
pub fn write_broadcast_metadata(&mut self, bext: &Bext) -> Result<(),Error> {
|
pub fn write_broadcast_metadata(&mut self, bext: &Bext) -> Result<(),Error> {
|
||||||
|
//FIXME Implement re-writing
|
||||||
let mut c = Cursor::new(vec![0u8; 0]);
|
let mut c = Cursor::new(vec![0u8; 0]);
|
||||||
c.write_bext(&bext)?;
|
c.write_bext(&bext)?;
|
||||||
let buf = c.into_inner();
|
let buf = c.into_inner();
|
||||||
@@ -283,11 +284,13 @@ impl<W> WaveWriter<W> where W: Write + Seek {
|
|||||||
|
|
||||||
/// Write iXML metadata
|
/// Write iXML metadata
|
||||||
pub fn write_ixml(&mut self, ixml: &[u8]) -> Result<(),Error> {
|
pub fn write_ixml(&mut self, ixml: &[u8]) -> Result<(),Error> {
|
||||||
|
//FIXME Implement re-writing
|
||||||
self.write_chunk(IXML_SIG, &ixml)
|
self.write_chunk(IXML_SIG, &ixml)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Write axml/ADM metadata
|
/// Write axml/ADM metadata
|
||||||
pub fn write_axml(&mut self, axml: &[u8]) -> Result<(), Error> {
|
pub fn write_axml(&mut self, axml: &[u8]) -> Result<(), Error> {
|
||||||
|
//FIXME Implement re-writing
|
||||||
self.write_chunk(AXML_SIG, &axml)
|
self.write_chunk(AXML_SIG, &axml)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user