|
| 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 (const Wave &other) |
|
| Wave (unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr) |
|
| Wave (Wave &&other) |
|
| ~Wave () |
| Unload wave data.
|
|
::Wave | Copy () const |
| Copy a wave to a new wave.
|
|
Wave & | Crop (int initSample, int finalSample) |
| Crop a wave to defined samples range.
|
|
bool | Export (const std::string &fileName) |
| Export wave data to file, returns true on success.
|
|
bool | ExportAsCode (const std::string &fileName) |
| Export wave sample data to code (.h), returns true on success.
|
|
Wave & | Format (int SampleRate, int SampleSize, int Channels=2) |
| Convert wave data to desired format.
|
|
unsigned int | GetChannels () const |
| Retrieves the channels value for the object. More...
|
|
void * | GetData () const |
| Retrieves the data value for the object. More...
|
|
unsigned int | GetFrameCount () const |
| Retrieves the frameCount value for the object. More...
|
|
unsigned int | GetSampleRate () const |
| Retrieves the sampleRate value for the object. More...
|
|
unsigned int | GetSampleSize () const |
| Retrieves the sampleSize value for the object. More...
|
|
bool | IsValid () const |
| Retrieve whether or not the Wave data has been loaded. More...
|
|
void | Load (const std::string &fileName) |
| Load wave data from file. More...
|
|
void | Load (const std::string &fileType, const unsigned char *fileData, int dataSize) |
| Load wave from memory buffer, fileType refers to extension: i.e. More...
|
|
float * | LoadSamples () |
| Load samples data from wave as a floats array.
|
|
::Sound | LoadSound () |
| Load sound from wave data.
|
|
| operator::Sound () |
| Load sound from wave data.
|
|
Wave & | operator= (const ::Wave &wave) |
|
Wave & | operator= (const Wave &other) |
|
Wave & | operator= (Wave &&other) noexcept |
|
void | Unload () |
| Unload wave data.
|
|
Wave type, defines audio wave data.
Definition at line 14 of file Wave.hpp.