Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

WAV Class Reference

#include <WAV.h>


Detailed Description

Definition at line 35 of file WAV.h.

List of all members.

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 ()
byteGetDataStart ()
byteGetDataEnd ()

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
bytedataStart
bytedataEnd
bytedataCurrent

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 26 of file WAV.cc.

WAV::WAV ( byte addr  ) 

Definition at line 30 of file WAV.cc.

WAV::~WAV (  ) 

Definition at line 39 of file WAV.h.

WAV::WAV ( const WAV  )  [private]

don't call


Member Function Documentation

WAVError WAV::CopyTo ( OSoundVectorData data  ) 

Definition at line 167 of file WAV.cc.

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

Definition at line 230 of file WAV.cc.

Referenced by Set().

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

Definition at line 240 of file WAV.cc.

Referenced by Set().

unsigned int WAV::GetBitsPerSample (  ) 

Definition at line 46 of file WAV.h.

Referenced by SoundManager::loadFile().

byte* WAV::GetDataEnd (  ) 

Definition at line 50 of file WAV.h.

Referenced by SoundManager::loadFile().

byte* WAV::GetDataStart (  ) 

Definition at line 49 of file WAV.h.

Referenced by SoundManager::loadFile().

unsigned int WAV::GetSamplingRate (  ) 

Definition at line 45 of file WAV.h.

Referenced by SoundManager::loadFile().

size_t WAV::GetSoundUnitSize (  ) 

Definition at line 47 of file WAV.h.

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

don't call

WAVError WAV::Rewind (  ) 

Definition at line 223 of file WAV.cc.

WAVError WAV::Set ( byte addr  ) 

Definition at line 36 of file WAV.cc.

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


Member Data Documentation

byte* WAV::dataCurrent [private]

Definition at line 68 of file WAV.h.

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

byte* WAV::dataEnd [private]

Definition at line 67 of file WAV.h.

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

byte* WAV::dataStart [private]

Definition at line 66 of file WAV.h.

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

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

Definition at line 62 of file WAV.h.

Referenced by Set().

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

Definition at line 60 of file WAV.h.

Referenced by Set().

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

Definition at line 57 of file WAV.h.

Referenced by CopyTo(), and Set().

Definition at line 64 of file WAV.h.

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

size_t WAV::soundUnitSize [private]

Definition at line 65 of file WAV.h.

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


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:18 2016 by Doxygen 1.6.3