SDL audio: Let's try 256 for fmt.samples. See issue #12705

This commit is contained in:
Henrik Rydgård 2023-01-17 11:45:05 +01:00
parent 40abcdb689
commit ece6edfe83
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ static void InitSDLAudioDevice() {
fmt.freq = 44100;
fmt.format = AUDIO_S16;
fmt.channels = 2;
fmt.samples = 1024;
fmt.samples = 256;
fmt.callback = &mixaudio;
fmt.userdata = nullptr;

View File

@ -99,7 +99,7 @@ static void InitSDLAudioDevice(const std::string &name = "") {
fmt.freq = 44100;
fmt.format = AUDIO_S16;
fmt.channels = 2;
fmt.samples = 1024;
fmt.samples = 256;
fmt.callback = &sdl_mixaudio_callback;
fmt.userdata = nullptr;