Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CSoundData Class Reference

#include <SoundData.h>

Inheritance diagram for CSoundData:
Collaboration diagram for CSoundData:

Public Member Functions

 CSoundData ()
 
virtual ~CSoundData ()
 
CSoundDataIncrementCount ()
 
bool DecrementCount ()
 
virtual bool IsOneShot ()
 
virtual bool IsStereo ()
 
virtual unsigned int GetBuffer ()
 
virtual int GetBufferCount ()
 
virtual const PathGetFileName ()
 
virtual void SetFileName (const Path &aName)
 
virtual unsigned int * GetBufferPtr ()
 

Static Public Member Functions

static CSoundDataSoundDataFromFile (const VfsPath &itemPath)
 
static CSoundDataSoundDataFromOgg (const VfsPath &itemPath)
 
static void ReleaseSoundData (CSoundData *theData)
 

Protected Attributes

unsigned int m_ALBuffer
 
int m_RetentionCount
 
Path m_FileName
 

Static Protected Attributes

static DataMap sSoundData
 

Constructor & Destructor Documentation

◆ CSoundData()

CSoundData::CSoundData ( )

◆ ~CSoundData()

CSoundData::~CSoundData ( )
virtual

Member Function Documentation

◆ DecrementCount()

bool CSoundData::DecrementCount ( )

◆ GetBuffer()

unsigned int CSoundData::GetBuffer ( )
virtual

Reimplemented in COggData.

◆ GetBufferCount()

int CSoundData::GetBufferCount ( )
virtual

Reimplemented in COggData.

◆ GetBufferPtr()

unsigned int * CSoundData::GetBufferPtr ( )
virtual

Reimplemented in COggData.

◆ GetFileName()

const Path & CSoundData::GetFileName ( )
virtual

◆ IncrementCount()

CSoundData * CSoundData::IncrementCount ( )

◆ IsOneShot()

bool CSoundData::IsOneShot ( )
virtual

Reimplemented in COggData.

◆ IsStereo()

bool CSoundData::IsStereo ( )
virtual

Reimplemented in COggData.

◆ ReleaseSoundData()

void CSoundData::ReleaseSoundData ( CSoundData theData)
static

◆ SetFileName()

void CSoundData::SetFileName ( const Path aName)
virtual

◆ SoundDataFromFile()

CSoundData * CSoundData::SoundDataFromFile ( const VfsPath itemPath)
static

◆ SoundDataFromOgg()

CSoundData * CSoundData::SoundDataFromOgg ( const VfsPath itemPath)
static

Member Data Documentation

◆ m_ALBuffer

unsigned int CSoundData::m_ALBuffer
protected

◆ m_FileName

Path CSoundData::m_FileName
protected

◆ m_RetentionCount

int CSoundData::m_RetentionCount
protected

◆ sSoundData

DataMap CSoundData::sSoundData
staticprotected

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