Another sound tweak

This commit is contained in:
Rob Pearce 2008-12-31 03:56:13 +00:00
parent 745c058639
commit 65fc8f8b96
1 changed files with 2 additions and 1 deletions

3
rc.c
View File

@ -8860,7 +8860,8 @@ int initsound(void) {
/* init */ /* init */
//if (Mix_OpenAudio(44100, AUDIO_S16SYS, 2, 1024) < 0) { //if (Mix_OpenAudio(44100, AUDIO_S16SYS, 2, 1024) < 0) {
if (Mix_OpenAudio(22050, MIX_DEFAULT_FORMAT, 2, 512) < 0) { //if (Mix_OpenAudio(22050, MIX_DEFAULT_FORMAT, 2, 512) < 0) {
if (Mix_OpenAudio(44100, AUDIO_S16SYS, 2, 512) < 0) {
printf("Error initialising sound: %s.\n",Mix_GetError()); printf("Error initialising sound: %s.\n",Mix_GetError());
return B_TRUE; return B_TRUE;
} }