DSPHLE: Fixed the unbearable noise in "Dead Space Extraction". Theoretically this commit should not break any game whose sound already worked in previous revisions, please test this on every game you have got.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4674 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
ayuanx 2009-12-10 17:41:47 +00:00
parent 8cc2cc11fd
commit 888e6e12e6
1 changed files with 2 additions and 1 deletions

View File

@ -247,7 +247,8 @@ inline void MixAddVoice(ParamBlockType &pb, int *templbuffer, int *temprbuffer,
else
{
pb.running = 0;
samplePos = samplePos - sampleEnd + loopPos;
samplePos = loopPos;
//samplePos = samplePos - sampleEnd + loopPos;
memset(&pb.updates, 0, sizeof(pb.updates));
memset(pb.src.last_samples, 0, 8);
break;