1#ifndef __WAVELOADER_H__
2#define __WAVELOADER_H__
8#define WAVE_FILETYPE_RIFF "RIFF"
9#define WAVE_DATATYPE_WAVE "WAVE"
10#define WAVE_CHUNKID_FMT "fmt "
11#define WAVE_CHUNKID_DATA "data"
72 const eC_String &pkPath,
78 enum { BUFFER_SIZE = 1024 };
81 eC_Bool CompareU32(
const eC_UByte* pkData,
const char* pkValue)
const;
Definition: WaveLoader.h:20
eC_Bool Load(const eC_String &pkPath, FormatChunk_t &kWaveFormat, DataChunk_t &kDataChunk)
WaveLoader()
Default constructor.
~WaveLoader()
Default destructor.
Definition: WaveLoader.h:62
Structure of data chunk of wave-file.
Definition: WaveLoader.h:35
eC_UByte * pubData
sound data
Definition: WaveLoader.h:37
eC_Bool bAllocated
true if memory was allocated
Definition: WaveLoader.h:38
eC_UInt uiDataSize
Size of sound data.
Definition: WaveLoader.h:36