Changed default Audio-buffer size to 2048 bytes. Should prevent crackly playback on some systems

This commit is contained in:
zicodxx 2010-03-03 21:27:48 +00:00
parent d7048c7664
commit e6d1b5c668
3 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,9 @@
D1X-Rebirth Changelog
20100303
--------
arch/sdl/digi_audio.c, arch/sdl/digi_mixer.c: Changed default Audio-buffer size to 2048 bytes. Should prevent crackly playback on some systems
20100301
--------
main/gameseq.c, main/inferno.c, main/state.c, main/titles.c, main/titles.h: Make titles.c more similar between D1X and D2X

View file

@ -50,7 +50,7 @@ extern inline fix fixmul(fix x, fix y) { return do_fixmul(x,y); }
//changed on 980905 by adb to increase number of concurrent sounds
#define MAX_SOUND_SLOTS 32
//end changes by adb
#define SOUND_BUFFER_SIZE 512
#define SOUND_BUFFER_SIZE 2048
#define MIN_VOLUME 10

View file

@ -55,7 +55,7 @@ extern inline fix fixmul(fix x, fix y) { return do_fixmul(x,y); }
//end edit -MM
#define MAX_SOUND_SLOTS 64
#define SOUND_BUFFER_SIZE 1024 //4096
#define SOUND_BUFFER_SIZE 2048
#define MIN_VOLUME 10
static int digi_initialised = 0;