More notes on things to do

This commit is contained in:
Jamie Hardt
2020-12-02 22:39:02 -08:00
parent 2fcb211a67
commit d221629b3e

View File

@@ -209,6 +209,8 @@ impl<R: Read + Seek> WaveReader<R> {
* `Ok(())` if the source is `validate_readable()` AND * `Ok(())` if the source is `validate_readable()` AND
* *
* - Contains _only_ a `fmt` chunk and `data` chunk, with no other chunks present * - Contains _only_ a `fmt` chunk and `data` chunk, with no other chunks present
* - `fmt` chunk is exactly 16 bytes long and begins _exactly_ at file offset 12
* - `data` content begins _exactly_ at file offset 36
* - is not an RF64/BW64 * - is not an RF64/BW64
* *
* Some clients require a WAVE file to only contain format and data without any other * Some clients require a WAVE file to only contain format and data without any other
@@ -237,7 +239,7 @@ impl<R: Read + Seek> WaveReader<R> {
.into_chunk_list()?.iter().map(|c| c.signature ).collect(); .into_chunk_list()?.iter().map(|c| c.signature ).collect();
if chunk_fourccs == vec![FMT__SIG, DATA_SIG] { if chunk_fourccs == vec![FMT__SIG, DATA_SIG] {
Ok(()) Ok(()) /* FIXME: finish implementation */
} else { } else {
Err( ParserError::NotMinimalWaveFile ) Err( ParserError::NotMinimalWaveFile )
} }