aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliaspider2015-11-09 13:40:42 +0100
committeraliaspider2015-11-09 13:40:42 +0100
commit590768711e010a976c4344e2e185a0025857d17a (patch)
tree6602bb5133f7abd7b7af580cdb51f896f08f66c2
parent03ef2061a49969b91de813971712418f11e0070b (diff)
downloadsnesemu-590768711e010a976c4344e2e185a0025857d17a.tar.gz
snesemu-590768711e010a976c4344e2e185a0025857d17a.tar.bz2
snesemu-590768711e010a976c4344e2e185a0025857d17a.zip
improve sound quality a bit when using the regular APU core.
-rw-r--r--libretro.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libretro.c b/libretro.c
index 3b4da2c..9c17f82 100644
--- a/libretro.c
+++ b/libretro.c
@@ -954,12 +954,11 @@ bool retro_load_game(const struct retro_game_info* game)
struct retro_system_av_info av_info;
retro_get_system_av_info(&av_info);
- samples_per_frame = av_info.timing.sample_rate / av_info.timing.fps;
-
#ifdef USE_BLARGG_APU
Settings.SoundPlaybackRate = av_info.timing.sample_rate;
#else
- S9xSetPlaybackRate(av_info.timing.sample_rate);
+ samples_per_frame = av_info.timing.sample_rate / av_info.timing.fps;
+ S9xSetPlaybackRate(32*1024);
#endif
return true;
}