From 2b8d41c6caf35ea12e6718f84e3dea7a3b2f2a32 Mon Sep 17 00:00:00 2001 From: scawful Date: Sat, 26 Aug 2023 02:00:35 -0400 Subject: [PATCH] Change SDL_Mixer frequency to match SNES S-SMP --- src/app/core/controller.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/core/controller.cc b/src/app/core/controller.cc index 3c755a55..cb6b4ada 100644 --- a/src/app/core/controller.cc +++ b/src/app/core/controller.cc @@ -182,7 +182,7 @@ absl::Status Controller::CreateWindow() { absl::StrFormat("SDL_CreateWindow: %s\n", SDL_GetError())); } // Initialize SDL_mixer - if (Mix_OpenAudio(44100, MIX_DEFAULT_FORMAT, 2, 2048) < 0) { + if (Mix_OpenAudio(32000, MIX_DEFAULT_FORMAT, 2, 1024) < 0) { printf("SDL_mixer could not initialize! SDL_mixer Error: %s\n", Mix_GetError()); }