sound::OggFileStream Class Reference

#include <OggFileStream.h>

Collaboration diagram for sound::OggFileStream:
Collaboration graph
[legend]

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

Detailed Description

Definition at line 13 of file OggFileStream.h.


Constructor & Destructor Documentation

sound::OggFileStream::OggFileStream ( ScopedArchiveBuffer source  )  [inline]

Definition at line 19 of file OggFileStream.h.

References _curPtr, _source, and ScopedArchiveBuffer::buffer.


Member Function Documentation

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.

References SEEK_CUR, SEEK_END, and SEEK_SET.

static long sound::OggFileStream::oggTellFunc ( void *  datasource  )  [inline, static]

Definition at line 85 of file OggFileStream.h.


Field Documentation

unsigned char* sound::OggFileStream::_curPtr [private]

Definition at line 17 of file OggFileStream.h.

Referenced by OggFileStream().

Definition at line 15 of file OggFileStream.h.

Referenced by OggFileStream().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2