]> git.nihav.org Git - nihav.git/commitdiff
core/soundcvt: fix u8->i16 test
authorKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 23 Dec 2020 10:45:16 +0000 (11:45 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 23 Dec 2020 10:45:16 +0000 (11:45 +0100)
nihav-core/src/soundcvt/mod.rs

index 17d7709cf32468219198c28561db03d30a3e6023..891a58a3933442d6d91a2e91192e74181acf62d2 100644 (file)
@@ -635,7 +635,7 @@ mod test {
             let l = data[off0];
             let r = data[off1];
             assert_eq!(l, 7445);
-            assert_eq!(r, -19943);
+            assert_eq!(r, -19505);
         } else {
             panic!("wrong buffer type");
         }