WAV Class Reference

#include <WAV.h>

List of all members.

Public Member Functions

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

Private Member Functions

longword get_longword (byte *addr)
word get_word (byte *addr)
longword get_longword (byte *addr)
word get_word (byte *addr)
longword get_longword (byte *addr)
word get_word (byte *addr)

Private Attributes

OSoundInfo soundInfo
size_t soundUnitSize
bytedataStart
bytedataEnd
bytedataCurrent
bytedataStart
bytedataEnd
bytedataCurrent
bytedataStart
bytedataEnd
bytedataCurrent

Static Private Attributes

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


Constructor & Destructor Documentation

WAV::WAV  ) 
 

Definition at line 16 of file common/MoNet/SoundAgent/WAV.cc.

WAV::WAV byte addr  ) 
 

Definition at line 20 of file common/MoNet/SoundAgent/WAV.cc.

References Set().

WAV::~WAV  )  [inline]
 

Definition at line 33 of file common/MoNet/SoundAgent/WAV.h.

WAV::WAV  ) 
 

WAV::WAV byte addr  ) 
 

WAV::~WAV  )  [inline]
 

Definition at line 33 of file common/SoundPlay/SoundPlay/WAV.h.

WAV::WAV  ) 
 

WAV::WAV byte addr  ) 
 

WAV::~WAV  )  [inline]
 

Definition at line 33 of file ers200/BallTrackingHead/LostFoundSound/WAV.h.


Member Function Documentation

WAVError WAV::CopyTo OSoundVectorData *  data  ) 
 

WAVError WAV::CopyTo OSoundVectorData *  data  ) 
 

WAVError WAV::CopyTo OSoundVectorData *  data  ) 
 

Definition at line 157 of file common/MoNet/SoundAgent/WAV.cc.

References byte, dataCurrent, dataEnd, soundInfo, and soundUnitSize.

Referenced by SoundPlay::CopyWAVTo(), SoundAgent::CopyWAVTo(), and LostFoundSound::CopyWAVTo().

longword WAV::get_longword byte addr  )  [private]
 

longword WAV::get_longword byte addr  )  [private]
 

longword WAV::get_longword byte addr  )  [private]
 

Definition at line 220 of file common/MoNet/SoundAgent/WAV.cc.

References longword.

Referenced by Set().

word WAV::get_word byte addr  )  [private]
 

word WAV::get_word byte addr  )  [private]
 

word WAV::get_word byte addr  )  [private]
 

Definition at line 230 of file common/MoNet/SoundAgent/WAV.cc.

References word.

Referenced by Set().

int WAV::GetBitsPerSample  )  [inline]
 

Definition at line 40 of file ers200/BallTrackingHead/LostFoundSound/WAV.h.

int WAV::GetBitsPerSample  )  [inline]
 

Definition at line 40 of file common/SoundPlay/SoundPlay/WAV.h.

int WAV::GetBitsPerSample  )  [inline]
 

Definition at line 40 of file common/MoNet/SoundAgent/WAV.h.

Referenced by SoundAgent::Play(), and SoundPlay::SetPowerAndVolume().

int WAV::GetSamplingRate  )  [inline]
 

Definition at line 39 of file ers200/BallTrackingHead/LostFoundSound/WAV.h.

int WAV::GetSamplingRate  )  [inline]
 

Definition at line 39 of file common/SoundPlay/SoundPlay/WAV.h.

int WAV::GetSamplingRate  )  [inline]
 

Definition at line 39 of file common/MoNet/SoundAgent/WAV.h.

Referenced by SoundAgent::Play(), and SoundPlay::SetPowerAndVolume().

size_t WAV::GetSoundUnitSize  )  [inline]
 

Definition at line 41 of file ers200/BallTrackingHead/LostFoundSound/WAV.h.

size_t WAV::GetSoundUnitSize  )  [inline]
 

Definition at line 41 of file common/SoundPlay/SoundPlay/WAV.h.

size_t WAV::GetSoundUnitSize  )  [inline]
 

Definition at line 41 of file common/MoNet/SoundAgent/WAV.h.

Referenced by SoundPlay::NewSoundVectorData().

WAVError WAV::Rewind  ) 
 

WAVError WAV::Rewind  ) 
 

WAVError WAV::Rewind  ) 
 

Definition at line 213 of file common/MoNet/SoundAgent/WAV.cc.

References dataCurrent.

Referenced by SoundPlay::CopyWAVTo(), and LostFoundSound::Play().

WAVError WAV::Set byte addr  ) 
 

WAVError WAV::Set byte addr  ) 
 

WAVError WAV::Set byte addr  ) 
 

Definition at line 26 of file common/MoNet/SoundAgent/WAV.cc.

References dataCurrent, dataEnd, dataStart, get_longword(), get_word(), longword, soundInfo, and soundUnitSize.

Referenced by SoundPlay::LoadWAV(), LostFoundSound::LoadWAV(), SoundPlay::NewSoundVectorData(), SoundAgent::NewSoundVectorData(), LostFoundSound::NewSoundVectorData(), SoundAgent::Play(), and WAV().


Member Data Documentation

byte* WAV::dataCurrent [private]
 

Definition at line 59 of file ers200/BallTrackingHead/LostFoundSound/WAV.h.

byte* WAV::dataCurrent [private]
 

Definition at line 59 of file common/SoundPlay/SoundPlay/WAV.h.

byte* WAV::dataCurrent [private]
 

Definition at line 59 of file common/MoNet/SoundAgent/WAV.h.

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

byte* WAV::dataEnd [private]
 

Definition at line 58 of file ers200/BallTrackingHead/LostFoundSound/WAV.h.

byte* WAV::dataEnd [private]
 

Definition at line 58 of file common/SoundPlay/SoundPlay/WAV.h.

byte* WAV::dataEnd [private]
 

Definition at line 58 of file common/MoNet/SoundAgent/WAV.h.

Referenced by CopyTo(), and Set().

byte* WAV::dataStart [private]
 

Definition at line 57 of file ers200/BallTrackingHead/LostFoundSound/WAV.h.

byte* WAV::dataStart [private]
 

Definition at line 57 of file common/SoundPlay/SoundPlay/WAV.h.

byte* WAV::dataStart [private]
 

Definition at line 57 of file common/MoNet/SoundAgent/WAV.h.

Referenced by Set().

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

Definition at line 53 of file ers200/BallTrackingHead/LostFoundSound/WAV.h.

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

Definition at line 51 of file ers200/BallTrackingHead/LostFoundSound/WAV.h.

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

Definition at line 48 of file ers200/BallTrackingHead/LostFoundSound/WAV.h.

OSoundInfo WAV::soundInfo [private]
 

Definition at line 55 of file ers200/BallTrackingHead/LostFoundSound/WAV.h.

Referenced by CopyTo(), and Set().

size_t WAV::soundUnitSize [private]
 

Definition at line 56 of file ers200/BallTrackingHead/LostFoundSound/WAV.h.

Referenced by CopyTo(), and Set().


The documentation for this class was generated from the following files:
Generated on Sun Dec 2 23:04:35 2007 for openSDK by  doxygen 1.3.9.1