Version 4.9c with improvement to ramp down audio gently to help soften audio pops/clicks when entering and exiting various menus. Audio volume tweaked slightly.

This commit is contained in:
Dave Bernazzani 2024-03-04 09:16:41 -05:00
parent b062069132
commit f42f8c329c
3 changed files with 4 additions and 1 deletions

Binary file not shown.

View File

@ -488,8 +488,10 @@ void ApplyOptions(void)
clocksPerSample = clockDivisor<<4;
// Check if the sound changed...
fifoSendValue32(FIFO_USER_01,(1<<16) | SOUND_KILL);
extern void audioRampDown(void);
audioRampDown();
bStartSoundFifo=true;
// clears the emulator side of the audio mixer
audioMixer->resetProcessor();

View File

@ -295,6 +295,7 @@ void AudioMixerDS::resetProcessor()
outputBufferWritePosition = 0;
}
audioRampDown();
fifoSendValue32(FIFO_USER_01,(1<<16) | SOUND_KILL);
// clears the emulator side of the audio mixer