From 1d57e214b32cae1cebf4cee1c58a72f704da6b40 Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Fri, 15 Feb 2019 13:06:25 -0600 Subject: [PATCH] GTK/Unix: Consistent default playback rate. --- gtk/src/gtk_config.cpp | 2 +- unix/snes9x.conf.default | 4 ++-- unix/unix.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk/src/gtk_config.cpp b/gtk/src/gtk_config.cpp index 5fb7cca4..e97c26f7 100644 --- a/gtk/src/gtk_config.cpp +++ b/gtk/src/gtk_config.cpp @@ -167,7 +167,7 @@ int Snes9xConfig::load_defaults () Settings.SixteenBitSound = true; Settings.Stereo = true; Settings.ReverseStereo = false; - Settings.SoundPlaybackRate = 44100; + Settings.SoundPlaybackRate = 48000; Settings.StopEmulation = true; Settings.FrameTimeNTSC = 16666; Settings.FrameTimePAL = 20000; diff --git a/unix/snes9x.conf.default b/unix/snes9x.conf.default index d57dfcc1..19393c7b 100644 --- a/unix/snes9x.conf.default +++ b/unix/snes9x.conf.default @@ -20,8 +20,8 @@ Sync = FALSE 16BitSound = TRUE Stereo = TRUE ReverseStereo = FALSE -Rate = 32000 -InputRate = 32000 +Rate = 48000 +InputRate = 31950 Mute = FALSE [Display] diff --git a/unix/unix.cpp b/unix/unix.cpp index 81bfabd0..7d1e3805 100644 --- a/unix/unix.cpp +++ b/unix/unix.cpp @@ -1484,7 +1484,7 @@ int main (int argc, char **argv) Settings.FrameTimeNTSC = 16667; Settings.SixteenBitSound = TRUE; Settings.Stereo = TRUE; - Settings.SoundPlaybackRate = 32000; + Settings.SoundPlaybackRate = 48000; Settings.SoundInputRate = 31950; Settings.SupportHiRes = TRUE; Settings.Transparency = TRUE;