diff --git a/desmume/src/SPU.cpp b/desmume/src/SPU.cpp index c07a693d8..57be86f86 100644 --- a/desmume/src/SPU.cpp +++ b/desmume/src/SPU.cpp @@ -1340,8 +1340,7 @@ void SPU_Emulate_user(bool mix) if(synchmode == ESynchMode_Synchronous) { int done = synchronizer->output_samples(SPU_user->outbuf, audiosize); - for(int j=0;jUpdateAudio(&SPU_user->outbuf[j*2],1); + SNDCore->UpdateAudio(SPU_user->outbuf,done); } else { diff --git a/desmume/src/windows/main.cpp b/desmume/src/windows/main.cpp index 5577b56e3..b2c00f5bd 100644 --- a/desmume/src/windows/main.cpp +++ b/desmume/src/windows/main.cpp @@ -1203,7 +1203,7 @@ static void StepRunLoop_Core() { Lock lock; NDS_exec(); - SPU_Emulate_user(); + //SPU_Emulate_user(); win_sound_samplecounter = 735; } inFrameBoundary = true;