Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
COggData Class Reference

#include <OggData.h>

Inheritance diagram for COggData:
CSoundData

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 ()
 
void InitProperties ()
 
virtual 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
 
Pathm_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
 

Detailed Description

Definition at line 31 of file OggData.h.

Constructor & Destructor Documentation

COggData::COggData ( )

Definition at line 30 of file OggData.cpp.

COggData::~COggData ( )
virtual

Definition at line 38 of file OggData.cpp.

Member Function Documentation

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

Definition at line 124 of file OggData.cpp.

ALuint COggData::GetBuffer ( )
protectedvirtual

Reimplemented from CSoundData.

Definition at line 151 of file OggData.cpp.

ALsizei COggData::GetBufferCount ( )
protectedvirtual

Reimplemented from CSoundData.

Definition at line 103 of file OggData.cpp.

ALuint * COggData::GetBufferPtr ( )
protectedvirtual

Reimplemented from CSoundData.

Definition at line 156 of file OggData.cpp.

bool COggData::InitOggFile ( const VfsPath itemPath)
virtual

Definition at line 62 of file OggData.cpp.

bool COggData::IsFileFinished ( )
virtual

Definition at line 108 of file OggData.cpp.

bool COggData::IsOneShot ( )
virtual

Reimplemented from CSoundData.

Definition at line 119 of file OggData.cpp.

bool COggData::IsStereo ( )
virtual

Reimplemented from CSoundData.

Definition at line 57 of file OggData.cpp.

void COggData::ResetFile ( )
virtual

Definition at line 113 of file OggData.cpp.

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

Definition at line 51 of file OggData.cpp.

Member Data Documentation

ALuint COggData::m_Buffer[100]
protected

Definition at line 53 of file OggData.h.

int COggData::m_BuffersUsed
protected

Definition at line 54 of file OggData.h.

bool COggData::m_FileFinished
protected

Definition at line 51 of file OggData.h.

ALuint COggData::m_Format
private

Definition at line 33 of file OggData.h.

long COggData::m_Frequency
private

Definition at line 34 of file OggData.h.

bool COggData::m_OneShot
protected

Definition at line 52 of file OggData.h.

OggStreamPtr COggData::ogg
protected

Definition at line 49 of file OggData.h.


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