Fix #6667: Match sample rate to games audio content.

This commit is contained in:
ZehMatt 2018-02-09 07:11:14 +01:00 committed by Michael Steenbeek
parent a9afe3253c
commit 4f011163d0
1 changed files with 2 additions and 2 deletions

View File

@ -76,10 +76,10 @@ namespace OpenRCT2 { namespace Audio
Close();
SDL_AudioSpec want = { 0 };
want.freq = 44100;
want.freq = 22050;
want.format = AUDIO_S16SYS;
want.channels = 2;
want.samples = 1024;
want.samples = 2048;
want.callback = [](void * arg, uint8 * dst, sint32 length) -> void
{
auto mixer = static_cast<AudioMixerImpl *>(arg);