|
| | Wave (const ::Wave &wave) |
| |
| | Wave (const std::string &fileName) |
| | Load wave data from file. More...
|
| |
| | Wave (const std::string &fileType, const unsigned char *fileData, int dataSize) |
| | Load wave from memory buffer, fileType refers to extension: i.e. More...
|
| |
| | Wave (unsigned int SampleCount=0, unsigned int SampleRate=0, unsigned int SampleSize=0, unsigned int Channels=0) |
| |
| | ~Wave () |
| |
| inline ::Wave | Copy () |
| | Copy a wave to a new wave. More...
|
| |
| Wave & | Crop (int initSample, int finalSample) |
| | Crop a wave to defined samples range. More...
|
| |
| bool | Export (const std::string &fileName) |
| | Export wave data to file, returns true on success. More...
|
| |
| bool | ExportAsCode (const std::string &fileName) |
| | Export wave sample data to code (.h), returns true on success. More...
|
| |
| Wave & | Format (int SampleRate, int SampleSize, int Channels=2) |
| | Convert wave data to desired format. More...
|
| |
| unsigned int | GetChannels () const |
| |
| void * | GetData () const |
| |
| unsigned int | GetSampleCount () const |
| |
| unsigned int | GetSampleRate () const |
| |
| unsigned int | GetSampleSize () const |
| |
| float * | LoadSamples () |
| | Load samples data from wave as a floats array. More...
|
| |
| inline ::Sound | LoadSound () |
| | Load sound from wave data. More...
|
| |
| | operator Sound () |
| | Load sound from wave data. More...
|
| |
| | operator::Sound () |
| | Load sound from wave data. More...
|
| |
| Wave & | operator= (const ::Wave &wave) |
| |
| void | SetChannels (unsigned int value) |
| |
| void | SetData (void *value) |
| |
| void | SetSampleCount (unsigned int value) |
| |
| void | SetSampleRate (unsigned int value) |
| |
| void | SetSampleSize (unsigned int value) |
| |
| void | Unload () |
| | Unload wave data. More...
|
| |
| void | UnloadSamples (float *samples) |
| | Unload samples data loaded with LoadWaveSamples() More...
|
| |
Definition at line 34 of file Wave.hpp.