Made changes to eliminate warnings

This commit is contained in:
Jamie Hardt
2020-11-28 11:30:21 -08:00
parent 208aa7f064
commit 082a8596af
3 changed files with 5 additions and 15 deletions

View File

@@ -11,7 +11,8 @@ use super::fourcc::{FourCC, RIFF_SIG, WAVE_SIG, FMT__SIG, JUNK_SIG, BEXT_SIG, DA
use byteorder::LittleEndian;
use byteorder::WriteBytesExt;
struct WaveWriter<W> where W: Write + Seek {
/// This isn't working yet, do not use.
pub struct WaveWriter<W> where W: Write + Seek {
inner : W
}
@@ -91,14 +92,3 @@ impl<W:Write + Seek> WaveWriter<W> {
}
}
#[test]
fn test_chunk_append() -> Result<(), Error> {
let mut test :Vec<u8> = vec![];
let mut cursor = Cursor::new(test);
let f = WaveFmt::new_pcm(48000, 16, 1);
let mut w = WaveWriter::make(cursor, f, None)?;
Ok(())
}