Another sound tweak - smaller buffer this time
This commit is contained in:
parent
ba962618e3
commit
745c058639
2
rc.c
2
rc.c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue