doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions | Variables
snd_decoder.cpp File Reference
#include "../idlib/precompiled.h"
#include "snd_local.h"
#include "OggVorbis/vorbis/codec.h"
#include "OggVorbis/vorbis/vorbisfile.h"

Go to the source code of this file.

Classes

class  idSampleDecoderLocal
 

Functions

void_decoder_malloc (size_t size)
 
void_decoder_calloc (size_t num, size_t size)
 
void_decoder_realloc (void *memblock, size_t size)
 
void _decoder_free (void *memblock)
 
size_t FS_ReadOGG (void *dest, size_t size1, size_t size2, void *fh)
 
int FS_SeekOGG (void *fh, ogg_int64_t to, int type)
 
int FS_CloseOGG (void *fh)
 
long FS_TellOGG (void *fh)
 
int ov_openFile (idFile *f, OggVorbis_File *vf)
 

Variables

idDynamicBlockAlloc< byte, 1<< 20, 128 > decoderMemoryAllocator
 
const int MIN_OGGVORBIS_MEMORY = 768 * 1024
 
idBlockAlloc
< idSampleDecoderLocal, 64 > 
sampleDecoderAllocator
 

Function Documentation

void* _decoder_calloc ( size_t  num,
size_t  size 
)

Definition at line 64 of file snd_decoder.cpp.

void _decoder_free ( void memblock)

Definition at line 77 of file snd_decoder.cpp.

void* _decoder_malloc ( size_t  size)

Definition at line 58 of file snd_decoder.cpp.

void* _decoder_realloc ( void memblock,
size_t  size 
)

Definition at line 71 of file snd_decoder.cpp.

int FS_CloseOGG ( void fh)

Definition at line 126 of file snd_decoder.cpp.

size_t FS_ReadOGG ( void dest,
size_t  size1,
size_t  size2,
void fh 
)

Definition at line 95 of file snd_decoder.cpp.

int FS_SeekOGG ( void fh,
ogg_int64_t  to,
int  type 
)

Definition at line 105 of file snd_decoder.cpp.

long FS_TellOGG ( void fh)

Definition at line 135 of file snd_decoder.cpp.

int ov_openFile ( idFile f,
OggVorbis_File vf 
)

Definition at line 145 of file snd_decoder.cpp.

Variable Documentation

idDynamicBlockAlloc<byte, 1<<20, 128> decoderMemoryAllocator

Definition at line 47 of file snd_decoder.cpp.

const int MIN_OGGVORBIS_MEMORY = 768 * 1024

Definition at line 49 of file snd_decoder.cpp.

idBlockAlloc<idSampleDecoderLocal, 64> sampleDecoderAllocator

Definition at line 304 of file snd_decoder.cpp.