change audio playback to 48khz. this should fix the tinny sound problem.

This commit is contained in:
Daryl Borth 2018-08-18 12:44:28 -06:00
parent af60660923
commit 860d77a094
3 changed files with 4 additions and 5 deletions

View File

@ -97,7 +97,7 @@ InitAudio ()
{
#ifdef NO_SOUND
AUDIO_Init (NULL);
AUDIO_SetDSPSampleRate(AI_SAMPLERATE_32KHZ);
AUDIO_SetDSPSampleRate(AI_SAMPLERATE_48KHZ);
AUDIO_RegisterDMACallback(GCMixSamples);
#else
ASND_Init();
@ -122,7 +122,6 @@ SwitchAudioMode(int mode)
AUDIO_StopDMA();
AUDIO_RegisterDMACallback(NULL);
DSP_Halt();
AUDIO_SetDSPSampleRate(AI_SAMPLERATE_32KHZ);
AUDIO_RegisterDMACallback(GCMixSamples);
#endif
memset(soundbuffer[0],0,AUDIOBUFFER);

View File

@ -474,15 +474,15 @@ DefaultSettings ()
Settings.DontSaveOopsSnapshot = true;
Settings.ApplyCheats = true;
Settings.BlockInvalidVRAMAccess = false;
Settings.HDMATimingHack = 100;
Settings.BlockInvalidVRAMAccessMaster = true;
// Sound defaults. On Wii this is 32Khz/16bit/Stereo
Settings.SoundSync = true;
Settings.SixteenBitSound = true;
Settings.Stereo = true;
Settings.ReverseStereo = true;
Settings.SoundPlaybackRate = 32040;
Settings.SoundPlaybackRate = 48000;
Settings.SoundInputRate = 32000;
Settings.DynamicRateControl = true;

View File

@ -378,7 +378,7 @@ void InitializeSnes9x() {
if (!S9xInitAPU ())
ExitApp();
S9xInitSound (64, 0); // Initialise Sound System
S9xInitSound (32, 0); // Initialise Sound System
// Initialise Graphics
setGFX ();