1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 08:14:38 +01:00

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

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);