For normal digital audio (11/22Khz) use buffer of 1024 for all platforms to prevent delay

This commit is contained in:
zicodxx 2010-07-17 13:07:23 +00:00
parent f5aa8ce8bc
commit c25dfdc7e7
2 changed files with 1 additions and 4 deletions

View file

@ -4,6 +4,7 @@ D2X-Rebirth Changelog
--------
main/render.c: Fix overlapping room in D1 lvl19 by moving vertex a little. Still a hack
main/gameseg.c, main/render.c: Instead of screwing by possibly using negative array indicies in find_seg_side() return -1. In ordering segments make this result in unimportant order; Taking in some Asserts which were disabled years ago by me. Let's fix this for real when we get to it
arch/sdl/digi_audio.c: For normal digital audio (11/22Khz) use buffer of 1024 for all platforms to prevent delay
20100716
--------

View file

@ -44,11 +44,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
#if !((defined(__APPLE__) && defined(__MACH__)) || defined(macintosh))
#define SOUND_BUFFER_SIZE 2048
#else
#define SOUND_BUFFER_SIZE 1024
#endif
#define MIN_VOLUME 10