From 6258806a3a5e327ab9e1ba27e6ae015b7ee91a7f Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 15 Dec 2018 01:39:41 +0000 Subject: [PATCH] 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 --- source/audiolib/src/vorbis.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/audiolib/src/vorbis.cpp b/source/audiolib/src/vorbis.cpp index 4a0350649..d92716b56 100644 --- a/source/audiolib/src/vorbis.cpp +++ b/source/audiolib/src/vorbis.cpp @@ -41,7 +41,7 @@ # include "vorbis/vorbisfile.h" #endif -#define BLOCKSIZE 0x8000 +#define BLOCKSIZE MV_MIXBUFFERSIZE typedef struct {