mirror of
https://github.com/libretro/snes9x2005.git
synced 2024-11-27 10:30:32 +00:00
improve sound quality a bit when using the regular APU core.
This commit is contained in:
parent
03ef2061a4
commit
590768711e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user