projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix clippy warnings
[nihav.git]
/
nihav-llaudio
/
src
/
codecs
/
ape.rs
diff --git
a/nihav-llaudio/src/codecs/ape.rs
b/nihav-llaudio/src/codecs/ape.rs
index 1bcd62e2a200dca4b4b75f62fcda473c0e3f9ebf..7b02c94d033e21ac25848bbbcc0651cda91851f9 100644
(file)
--- a/
nihav-llaudio/src/codecs/ape.rs
+++ b/
nihav-llaudio/src/codecs/ape.rs
@@
-107,7
+107,7
@@
impl NADecoder for APEDecoder {
} else {
return Err(DecoderError::NotImplemented);
};
} else {
return Err(DecoderError::NotImplemented);
};
- self.ainfo = NAAudioInfo::new(srate, channels
as u8
, SND_S16P_FORMAT, 4602);
+ self.ainfo = NAAudioInfo::new(srate, channels, SND_S16P_FORMAT, 4602);
Ok(())
} else {
Err(DecoderError::InvalidData)
Ok(())
} else {
Err(DecoderError::InvalidData)