#include <Wave.h>
Public Member Functions | |
| Wave (void) | |
| ~Wave (void) | |
| Wave (const Wave &rhs) | |
| Wave & | operator= (const Wave &rhs) |
| const WAVEFORMATEX & | GetFormat () const |
| const char * | GetDataBuffer () const |
| unsigned | GetBufferSize () const |
| bool | LoadFromFile (const cl7::string_type &file_name) |
| bool | LoadFrom (io::IRom &rom, const cl7::string_type &rom_name=TEXT("")) |
The waveform (WAVE) audio file format.
| xl7::directsound::wav::Wave::Wave | ( | void | ) |
Default constructor.
| xl7::directsound::wav::Wave::~Wave | ( | void | ) |
Destructor.
| xl7::directsound::wav::Wave::Wave | ( | const Wave & | rhs | ) |
Copy constructor.
| unsigned xl7::directsound::wav::Wave::GetBufferSize | ( | ) | const [inline] |
Returns the size, in bytes, of the data buffer.
| const char* xl7::directsound::wav::Wave::GetDataBuffer | ( | ) | const [inline] |
Returns the data buffer.
| const WAVEFORMATEX& xl7::directsound::wav::Wave::GetFormat | ( | ) | const [inline] |
Returns the format of the waveform-audio data.
| bool xl7::directsound::wav::Wave::LoadFrom | ( | io::IRom & | rom, | |
| const cl7::string_type & | rom_name = TEXT("") | |||
| ) |
Loads the waveform from any rom.
| bool xl7::directsound::wav::Wave::LoadFromFile | ( | const cl7::string_type & | file_name | ) |
Loads the waveform from a file in the file system.
1.7.1