Change SDL_Mixer frequency to match SNES S-SMP

This commit is contained in:
scawful
2023-08-26 02:00:35 -04:00
parent d3e23e0b8f
commit 2b8d41c6ca

View File

@@ -182,7 +182,7 @@ absl::Status Controller::CreateWindow() {
absl::StrFormat("SDL_CreateWindow: %s\n", SDL_GetError())); absl::StrFormat("SDL_CreateWindow: %s\n", SDL_GetError()));
} }
// Initialize SDL_mixer // 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", printf("SDL_mixer could not initialize! SDL_mixer Error: %s\n",
Mix_GetError()); Mix_GetError());
} }