Reduce vorbis read block size from 32k to MV_MIXBUFFERSIZE. Despite requiring more calls into libvorbis, this should be faster on slower CPUs in cases where more copies of the same .ogg sound are attempting to be played at once than are allowed, e.g large explosion scenes in Ion Maiden.

git-svn-id: https://svn.eduke32.com/eduke32@7282 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-12-15 01:39:41 +00:00
parent 30cc6a35e8
commit 6258806a3a

View file

@ -41,7 +41,7 @@
# include "vorbis/vorbisfile.h" # include "vorbis/vorbisfile.h"
#endif #endif
#define BLOCKSIZE 0x8000 #define BLOCKSIZE MV_MIXBUFFERSIZE
typedef struct { typedef struct {