Pyrogenesis  trunk
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
COggData Class Reference

#include <OggData.h>

Inheritance diagram for COggData:
Inheritance graph
[legend]
Collaboration diagram for COggData:
Collaboration graph
[legend]

Public Member Functions

 COggData ()
 
virtual ~COggData ()
 
virtual bool InitOggFile (const VfsPath &itemPath)
 
virtual bool IsFileFinished ()
 
virtual bool IsOneShot ()
 
virtual bool IsStereo ()
 
virtual int FetchDataIntoBuffer (int count, ALuint *buffers)
 
virtual void ResetFile ()
 
- Public Member Functions inherited from CSoundData
 CSoundData ()
 
virtual ~CSoundData ()
 
CSoundDataIncrementCount ()
 
bool DecrementCount ()
 
virtual const PathGetFileName ()
 
virtual void SetFileName (const Path &aName)
 

Protected Member Functions

bool AddDataBuffer (char *data, long length)
 
void SetFormatAndFreq (int form, ALsizei freq)
 
int GetBufferCount ()
 
unsigned int GetBuffer ()
 
unsigned int * GetBufferPtr ()
 

Protected Attributes

OggStreamPtr ogg
 
bool m_FileFinished
 
bool m_OneShot
 
ALuint m_Buffer [100]
 
int m_BuffersUsed
 
- Protected Attributes inherited from CSoundData
unsigned int m_ALBuffer
 
int m_RetentionCount
 
Path m_FileName
 

Private Attributes

ALuint m_Format
 
long m_Frequency
 

Additional Inherited Members

- Static Public Member Functions inherited from CSoundData
static CSoundDataSoundDataFromFile (const VfsPath &itemPath)
 
static CSoundDataSoundDataFromOgg (const VfsPath &itemPath)
 
static void ReleaseSoundData (CSoundData *theData)
 
- Static Protected Attributes inherited from CSoundData
static DataMap sSoundData
 

Constructor & Destructor Documentation

COggData::COggData ( )
COggData::~COggData ( )
virtual

Member Function Documentation

bool COggData::AddDataBuffer ( char *  data,
long  length 
)
protected
int COggData::FetchDataIntoBuffer ( int  count,
ALuint *  buffers 
)
virtual
ALuint COggData::GetBuffer ( )
protectedvirtual

Reimplemented from CSoundData.

ALsizei COggData::GetBufferCount ( )
protectedvirtual

Reimplemented from CSoundData.

ALuint * COggData::GetBufferPtr ( )
protectedvirtual

Reimplemented from CSoundData.

bool COggData::InitOggFile ( const VfsPath itemPath)
virtual
bool COggData::IsFileFinished ( )
virtual
bool COggData::IsOneShot ( )
virtual

Reimplemented from CSoundData.

bool COggData::IsStereo ( )
virtual

Reimplemented from CSoundData.

void COggData::ResetFile ( )
virtual
void COggData::SetFormatAndFreq ( int  form,
ALsizei  freq 
)
protected

Member Data Documentation

ALuint COggData::m_Buffer[100]
protected
int COggData::m_BuffersUsed
protected
bool COggData::m_FileFinished
protected
ALuint COggData::m_Format
private
long COggData::m_Frequency
private
bool COggData::m_OneShot
protected
OggStreamPtr COggData::ogg
protected

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