Represents a wav file.
More...
#include <Wav.h>
List of all members.
Detailed Description
Represents a wav file.
Definition at line 37 of file Wav.h.
Constructor & Destructor Documentation
sdl::audio::Wav::Wav |
( |
const string & |
fileName | ) |
[inline] |
Opens the specified a wav file.
- Parameters:
-
fileName | The name of the wav file. |
- Exceptions:
-
runtime_error | Throws a runtime_error if the wav could not be loaded. |
Definition at line 46 of file Wav.h.
sdl::audio::Wav::~Wav |
( |
| ) |
[inline] |
Destroys a wav file.
Definition at line 58 of file Wav.h.
Member Data Documentation
The audio buffer.
Definition at line 68 of file Wav.h.
The length of the audio buffer.
Definition at line 73 of file Wav.h.
The name of the wav file.
Definition at line 58 of file Wav.h.
The SDL_AudioSpec structure.
Definition at line 78 of file Wav.h.
The documentation for this class was generated from the following file: