Change SDL_Mixer frequency to match SNES S-SMP
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user