#include "quakedef.h"
+#include "snd_main.h"
#include "snd_ogg.h"
#include "snd_wav.h"
if (vf_dll)
return true;
+// COMMANDLINEOPTION: Sound: -novorbis disables ogg vorbis sound support
+ if (COM_CheckParm("-novorbis"))
+ return false;
+
#ifdef WIN32
dllname = "vorbisfile.dll";
#else
return false;
Mem_FreePool (&s->mempool);
- s->mempool = Mem_AllocPool (s->name);
+ s->mempool = Mem_AllocPool (s->name, 0, NULL);
// Load the file
data = FS_LoadFile (filename, s->mempool, false);
long ret;
sfxbuffer_t *sb;
- Con_DPrintf ("\"%s\" will be streamed\n", filename);
+ Con_DPrintf ("\"%s\" will be cached\n", filename);
// Decode it
buff = Mem_Alloc (s->mempool, (int)len);