diff options
| author | John Peterson <jpeterson57@gmail.com> | 2008-10-09 05:41:02 +0000 |
|---|---|---|
| committer | John Peterson <jpeterson57@gmail.com> | 2008-10-09 05:41:02 +0000 |
| commit | c343b8b8bbd39b748fa4b17ace1027490de18e70 (patch) | |
| tree | 9e017a1ff3f27bf15c5d628e9d00e611e75b7586 /Source | |
| parent | eb65601f90173d7567656540621c91bc0c5c222f (diff) | |
Fixed the chipmunks-like sound in Soul Calibur 2 movies and perhaps RE4 movies. This problem originated from the Baten fix in rev 609. Apparently all pb.src_type = 2 sounds don’t need this fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@808 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AX.cpp | 5 |
1 files 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;
}
|
