From cfd20a0f796ab6cc046b080bb7af8967cb7c361b Mon Sep 17 00:00:00 2001 From: Konstantin Date: Sat, 28 Jan 2023 16:15:39 +0100 Subject: Bugfix, stereo PCM handling --- Whisper/MF/PcmReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Whisper/MF/PcmReader.cpp b/Whisper/MF/PcmReader.cpp index fa39191..b8387aa 100644 --- a/Whisper/MF/PcmReader.cpp +++ b/Whisper/MF/PcmReader.cpp @@ -98,7 +98,7 @@ namespace memmove( rdi.mono.data(), rdi.mono.data() + amount, block * 4 ); rdi.mono.resize( block ); memmove( rdi.stereo.data(), rdi.stereo.data() + amount * 2, block * 8 ); - rdi.mono.resize( block * 2 ); + rdi.stereo.resize( block * 2 ); } else { -- cgit v1.2.3