Correct overzealous detection of buffer overruns. It was making the sound crackle constantly, like a record player. Most audible with earphones.

This commit is contained in:
Nebuleon Fumika 2013-02-02 01:37:16 -05:00
parent 25aeb83f7b
commit 91d7bf5b91

View file

@ -925,7 +925,7 @@ void S9xProcessSound (unsigned int)
if (so.mute_sound || !game_enable_audio)
return;
if(ds2_checkAudiobuff() > AUDIO_BUFFER_COUNT / 2)
if(ds2_checkAudiobuff() > AUDIO_BUFFER_COUNT * 3/4)
{
LastSoundEmissionTime++;
return;