]> git.nihav.org Git - nihav.git/blobdiff - src/codecs/real/ra144.rs
ra14.4: consistency fix
[nihav.git] / src / codecs / real / ra144.rs
index 02ae9b2b895fc4764485e6f9d4d64d8fa66cee09..e68075810f938dfa915ae217e03b567d099522d7 100644 (file)
@@ -26,7 +26,7 @@ impl RA144Decoder {
     fn new() -> Self {
         RA144Decoder {
             chmap:      NAChannelMap::new(),
-            ainfo:      NAAudioInfo::new(0, 1, SND_F32P_FORMAT, NBLOCKS * BLOCKSIZE),
+            ainfo:      NAAudioInfo::new(0, 1, SND_S16_FORMAT, NBLOCKS * BLOCKSIZE),
             info:       NACodecInfo::new_dummy(),
 
             old_energy:     0,
@@ -319,7 +319,7 @@ mod test {
     #[test]
     fn test_ra144() {
         let file = "assets/RV/ra3_in_rm_file.rm";
-        test_decode_audio("realaudio", file, None, "realaudio144");
+        test_decode_audio("realmedia", file, Some(5000), "ra14.4");
     }
 }