From c343b8b8bbd39b748fa4b17ace1027490de18e70 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Thu, 9 Oct 2008 05:41:02 +0000 Subject: [PATCH] =?UTF-8?q?Fixed=20the=20chipmunks-like=20sound=20in=20Sou?= =?UTF-8?q?l=20Calibur=202=20movies=20and=20perhaps=20RE4=20movies.=20This?= =?UTF-8?q?=20problem=20originated=20from=20the=20Baten=20fix=20in=20rev?= =?UTF-8?q?=20609.=20Apparently=20all=20pb.src=5Ftype=20=3D=202=20sounds?= =?UTF-8?q?=20don=E2=80=99t=20need=20this=20fix.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@808 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AX.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AX.cpp b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AX.cpp index 256661ad5a..834ddb2f9e 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AX.cpp +++ b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AX.cpp @@ -337,9 +337,10 @@ void CUCode_AX::MixAdd(short* _pBuffer, int _iSize) // Affected games: // Baten Kaitos - Eternal Wings (2003) // Baten Kaitos - Origins (2006)? - // ? + // Soul Calibur 2: The movie music use src_type 2 but it needs no adjustment, perhaps + // the sound format plays in to, Baten use ADPCM SC2 use PCM16 // ------------ - if(pb.src_type == 2) + if(pb.src_type == 2 && (pb.src.ratio_hi == 0 && pb.src.ratio_lo == 0)) { pb.src.ratio_hi = 1; }