mirror of
https://github.com/Const-me/Whisper.git
synced 2026-10-29 03:27:22 +08:00
Bugfix, stereo PCM handling
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user