]> git.nihav.org Git - nihav.git/commitdiff
mpeg/mp3: increase MP3 payload buffer size
authorKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 12 Nov 2021 10:38:45 +0000 (11:38 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 12 Nov 2021 10:38:45 +0000 (11:38 +0100)
nihav-mpeg/src/codecs/mpegaudio/mod.rs

index f61b0a18314bab10610637703be6a7b03c5c94eb..1a2ef6ebd50c3b082ac5eb7cb26095fa493621df 100644 (file)
@@ -7,7 +7,7 @@ mod mp3code;
 use mp3code::*;
 
 const SAMPLES: usize = 1152;
-const BYTEBUF_SIZE: usize = 1024;
+const BYTEBUF_SIZE: usize = 2048;
 
 #[allow(clippy::large_enum_variant)]
 enum LayerData {