#include <WaveLoader.h>
Classes | |
| struct | DataChunk_t |
| Structure of data chunk of wave-file. More... | |
| struct | FormatChunk_t |
| Structure of format chunk of wave-file. More... | |
Public Member Functions | |
| WaveLoader () | |
| Default constructor. | |
| ~WaveLoader () | |
| Default destructor. | |
| DataChunk_t | GetWaveData () const |
| FormatChunk_t | GetWaveFormat () const |
| eC_Bool | Load (const eC_String &pkPath) |
| void | Unload () |
This class is internally used within sound wrappers to load wave-files
|
inline |
Getter for internal sound buffer
|
inline |
Getter for internal format of loaded wave-file
| eC_Bool FileLoader::WaveLoader::Load | ( | const eC_String & | pkPath | ) |
Loads a wavefile and prepares the sound data for further use
| pkPath | String with path to file to load |
| void FileLoader::WaveLoader::Unload | ( | ) |
Unload currently loaded wave-file and clear memory buffer