Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

WAV Class Reference

#include <WAV.h>

List of all members.


Detailed Description

Definition at line 41 of file WAV.h.

Public Member Functions

 WAV ()
 WAV (byte *addr)
 ~WAV ()
WAVError Set (byte *addr)
WAVError CopyTo (OSoundVectorData *data)
WAVError Rewind ()
unsigned int GetSamplingRate ()
unsigned int GetBitsPerSample ()
size_t GetSoundUnitSize ()
byte * GetDataStart ()
byte * GetDataEnd ()

Private Member Functions

longword get_longword (byte *addr)
word get_word (byte *addr)
 WAV (const WAV &)
 don't call
WAVoperator= (const WAV &)
 don't call

Private Attributes

OSoundInfo soundInfo
size_t soundUnitSize
byte * dataStart
byte * dataEnd
byte * dataCurrent

Static Private Attributes

static const size_t MONO8K8B_UNIT_SIZE = 256
static const size_t MONO16K16B_UNIT_SIZE = 1024
static const size_t FMTSIZE_WITHOUT_EXTINFO = 16


Constructor & Destructor Documentation

WAV::WAV  ) 
 

Definition at line 32 of file WAV.cc.

WAV::WAV byte *  addr  ) 
 

Definition at line 36 of file WAV.cc.

WAV::~WAV  )  [inline]
 

Definition at line 45 of file WAV.h.

WAV::WAV const WAV  )  [private]
 

don't call


Member Function Documentation

WAVError WAV::CopyTo OSoundVectorData *  data  ) 
 

Definition at line 173 of file WAV.cc.

longword WAV::get_longword byte *  addr  )  [private]
 

Definition at line 236 of file WAV.cc.

Referenced by Set().

word WAV::get_word byte *  addr  )  [private]
 

Definition at line 246 of file WAV.cc.

Referenced by Set().

unsigned int WAV::GetBitsPerSample  )  [inline]
 

Definition at line 52 of file WAV.h.

Referenced by SoundManager::LoadFile().

byte* WAV::GetDataEnd  )  [inline]
 

Definition at line 56 of file WAV.h.

Referenced by SoundManager::LoadFile().

byte* WAV::GetDataStart  )  [inline]
 

Definition at line 55 of file WAV.h.

Referenced by SoundManager::LoadFile().

unsigned int WAV::GetSamplingRate  )  [inline]
 

Definition at line 51 of file WAV.h.

Referenced by SoundManager::LoadFile().

size_t WAV::GetSoundUnitSize  )  [inline]
 

Definition at line 53 of file WAV.h.

WAV& WAV::operator= const WAV  )  [private]
 

don't call

WAVError WAV::Rewind  ) 
 

Definition at line 229 of file WAV.cc.

WAVError WAV::Set byte *  addr  ) 
 

Definition at line 42 of file WAV.cc.

Referenced by SoundManager::LoadFile(), and WAV().


Member Data Documentation

byte* WAV::dataCurrent [private]
 

Definition at line 74 of file WAV.h.

Referenced by CopyTo(), Rewind(), and Set().

byte* WAV::dataEnd [private]
 

Definition at line 73 of file WAV.h.

Referenced by CopyTo(), GetDataEnd(), and Set().

byte* WAV::dataStart [private]
 

Definition at line 72 of file WAV.h.

Referenced by GetDataStart(), Rewind(), and Set().

const size_t WAV::FMTSIZE_WITHOUT_EXTINFO = 16 [static, private]
 

Definition at line 68 of file WAV.h.

Referenced by Set().

const size_t WAV::MONO16K16B_UNIT_SIZE = 1024 [static, private]
 

Definition at line 66 of file WAV.h.

Referenced by Set().

const size_t WAV::MONO8K8B_UNIT_SIZE = 256 [static, private]
 

Definition at line 63 of file WAV.h.

Referenced by CopyTo(), and Set().

OSoundInfo WAV::soundInfo [private]
 

Definition at line 70 of file WAV.h.

Referenced by CopyTo(), GetBitsPerSample(), GetSamplingRate(), and Set().

size_t WAV::soundUnitSize [private]
 

Definition at line 71 of file WAV.h.

Referenced by CopyTo(), GetSoundUnitSize(), and Set().


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

Tekkotsu v2.4.1
Generated Tue Aug 16 16:35:12 2005 by Doxygen 1.4.4