diff options
author | aliaspider | 2015-11-09 13:40:42 +0100 |
---|---|---|
committer | aliaspider | 2015-11-09 13:40:42 +0100 |
commit | 590768711e010a976c4344e2e185a0025857d17a (patch) | |
tree | 6602bb5133f7abd7b7af580cdb51f896f08f66c2 | |
parent | 03ef2061a49969b91de813971712418f11e0070b (diff) | |
download | snesemu-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.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; } |