Another sound tweak - smaller buffer this time

This commit is contained in:
Rob Pearce 2008-12-31 03:55:08 +00:00
parent ba962618e3
commit 745c058639
1 changed files with 1 additions and 1 deletions

2
rc.c
View File

@ -8860,7 +8860,7 @@ 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, 4096) < 0) { if (Mix_OpenAudio(22050, MIX_DEFAULT_FORMAT, 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;
} }