#include <OggFileStream.h>
Public Member Functions | |
OggFileStream (ScopedArchiveBuffer &source) | |
Static Public Member Functions | |
static std::size_t | oggReadFunc (void *ptr, std::size_t byteSize, std::size_t sizeToRead, void *datasource) |
static int | oggSeekFunc (void *datasource, ogg_int64_t offset, int whence) |
static int | oggCloseFunc (void *datasource) |
static long | oggTellFunc (void *datasource) |
Private Attributes | |
ScopedArchiveBuffer & | _source |
unsigned char * | _curPtr |
Definition at line 13 of file OggFileStream.h.
sound::OggFileStream::OggFileStream | ( | ScopedArchiveBuffer & | source | ) | [inline] |
Definition at line 19 of file OggFileStream.h.
References _curPtr, _source, and ScopedArchiveBuffer::buffer.
static int sound::OggFileStream::oggCloseFunc | ( | void * | datasource | ) | [inline, static] |
Definition at line 80 of file OggFileStream.h.
static std::size_t sound::OggFileStream::oggReadFunc | ( | void * | ptr, | |
std::size_t | byteSize, | |||
std::size_t | sizeToRead, | |||
void * | datasource | |||
) | [inline, static] |
Definition at line 26 of file OggFileStream.h.
static int sound::OggFileStream::oggSeekFunc | ( | void * | datasource, | |
ogg_int64_t | offset, | |||
int | whence | |||
) | [inline, static] |
Definition at line 49 of file OggFileStream.h.
static long sound::OggFileStream::oggTellFunc | ( | void * | datasource | ) | [inline, static] |
Definition at line 85 of file OggFileStream.h.
unsigned char* sound::OggFileStream::_curPtr [private] |
Definition at line 17 of file OggFileStream.h.
Referenced by OggFileStream().
ScopedArchiveBuffer& sound::OggFileStream::_source [private] |
Definition at line 15 of file OggFileStream.h.
Referenced by OggFileStream().