MercurySoundSourceWAV Class Reference

#include <MercurySoundSourceWAV.h>

Collaboration diagram for MercurySoundSourceWAV:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MercurySoundSourceWAV ()
 ~MercurySoundSourceWAV ()
bool Open (const MString &path)
float * ReadData (unsigned long samples)
bool Play ()
bool Stop ()
void Pause (bool pause)
bool IsPaused () const
virtual MString GetType ()
virtual void GetAllTypes (MVector< MString > &vOut)
virtual bool IsTypeOf (const MString &sType)
void SetDestroyOnStop (bool destroy)

Private Member Functions

bool LocateAudioData ()

Private Attributes

bool m_atAudioChunk
MercuryFilem_file
unsigned long m_chunkSize
unsigned long m_chunkPosition
SoundPlayState m_playState
bool m_destroyOnStop

Detailed Description

Definition at line 40 of file MercurySoundSourceWAV.h.


Constructor & Destructor Documentation

MercurySoundSourceWAV::MercurySoundSourceWAV (  ) 

Definition at line 7 of file MercurySoundSourceWAV.cpp.

MercurySoundSourceWAV::~MercurySoundSourceWAV (  ) 

Definition at line 12 of file MercurySoundSourceWAV.cpp.


Member Function Documentation

bool MercurySoundSourceWAV::Open ( const MString path  ) 

Definition at line 19 of file MercurySoundSourceWAV.cpp.

float * MercurySoundSourceWAV::ReadData ( unsigned long  samples  ) 

Definition at line 114 of file MercurySoundSourceWAV.cpp.

bool MercurySoundSourceWAV::Play (  ) 

Definition at line 143 of file MercurySoundSourceWAV.cpp.

bool MercurySoundSourceWAV::Stop (  ) 

Definition at line 155 of file MercurySoundSourceWAV.cpp.

void MercurySoundSourceWAV::Pause ( bool  pause  ) 

Definition at line 162 of file MercurySoundSourceWAV.cpp.

bool MercurySoundSourceWAV::IsPaused (  )  const [inline]

Definition at line 53 of file MercurySoundSourceWAV.h.

virtual MString MercurySoundSourceWAV::GetType (  )  [inline, virtual]

Definition at line 55 of file MercurySoundSourceWAV.h.

virtual void MercurySoundSourceWAV::GetAllTypes ( MVector< MString > &  vOut  )  [inline, virtual]

Definition at line 56 of file MercurySoundSourceWAV.h.

virtual bool MercurySoundSourceWAV::IsTypeOf ( const MString sType  )  [inline, virtual]

Definition at line 57 of file MercurySoundSourceWAV.h.

void MercurySoundSourceWAV::SetDestroyOnStop ( bool  destroy  )  [inline]

Definition at line 59 of file MercurySoundSourceWAV.h.

bool MercurySoundSourceWAV::LocateAudioData (  )  [private]

Definition at line 82 of file MercurySoundSourceWAV.cpp.


Member Data Documentation

bool MercurySoundSourceWAV::m_atAudioChunk [private]

Definition at line 63 of file MercurySoundSourceWAV.h.

MercuryFile* MercurySoundSourceWAV::m_file [private]

Definition at line 65 of file MercurySoundSourceWAV.h.

unsigned long MercurySoundSourceWAV::m_chunkSize [private]

Definition at line 66 of file MercurySoundSourceWAV.h.

unsigned long MercurySoundSourceWAV::m_chunkPosition [private]

Definition at line 67 of file MercurySoundSourceWAV.h.

SoundPlayState MercurySoundSourceWAV::m_playState [private]

Definition at line 69 of file MercurySoundSourceWAV.h.

bool MercurySoundSourceWAV::m_destroyOnStop [private]

Definition at line 70 of file MercurySoundSourceWAV.h.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo