|
| | Wave (const ::Wave &wave) |
| |
| | Wave (const std::string &fileName) |
| | Load wave data from file.
|
| |
| | Wave (const std::string &fileType, const unsigned char *fileData, int dataSize) |
| | Load wave from memory buffer, fileType refers to extension: i.e.
|
| |
| | 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) noexcept |
| |
| | ~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.
|
| |
| void * | GetData () const |
| | Retrieves the data value for the object.
|
| |
| unsigned int | GetFrameCount () const |
| | Retrieves the frameCount value for the object.
|
| |
| unsigned int | GetSampleRate () const |
| | Retrieves the sampleRate value for the object.
|
| |
| unsigned int | GetSampleSize () const |
| | Retrieves the sampleSize value for the object.
|
| |
| bool | IsValid () const |
| | Retrieve whether or not the Wave data has been loaded.
|
| |
| void | Load (const std::string &fileName) |
| | Load wave data from file.
|
| |
| void | Load (const std::string &fileType, const unsigned char *fileData, int dataSize) |
| | Load wave from memory buffer, fileType refers to extension: i.e.
|
| |
| 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.