mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-27 13:04:21 +01:00
change audio playback to 48khz. this should fix the tinny sound problem.
This commit is contained in:
parent
af60660923
commit
860d77a094
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
@ -378,7 +378,7 @@ void InitializeSnes9x() {
|
||||
if (!S9xInitAPU ())
|
||||
ExitApp();
|
||||
|
||||
S9xInitSound (64, 0); // Initialise Sound System
|
||||
S9xInitSound (32, 0); // Initialise Sound System
|
||||
|
||||
// Initialise Graphics
|
||||
setGFX ();
|
||||
|
Loading…
Reference in New Issue
Block a user