mirror of
https://github.com/iluvcapra/bwavfile.git
synced 2026-11-16 00:34:13 +00:00
Fixed typo
This commit is contained in:
1 parent
69da33b3dc
commit
208aa7f064
1 file changed
+1
-1
+1
-1
@@ -103,7 +103,7 @@ impl<R: Read + Seek> WaveReader<R> {
|
||||
/**
|
||||
* Create an `AudioFrameReader` for reading each audio frame.
|
||||
*/
|
||||
pub fn audio_frame_reader(&mut self) -> Result<AudioFrameReader<impl RRead>>, ParserError> {
|
||||
pub fn audio_frame_reader(&mut self) -> Result<AudioFrameReader<RawChunkReader<R>>, ParserError> {
|
||||
let format = self.format()?;
|
||||
let audio_chunk_reader = self.chunk_reader(DATA_SIG, 0)?;
|
||||
Ok(AudioFrameReader::new(audio_chunk_reader, format))
|
||||
|
||||
Reference in new issue
Block a user