A loaded sound artifact.
More...
|
| | this (string audioFilePath, int volume=MIX_MAX_VOLUME) |
| | Load a .wav file into memory.
|
| |
|
| ~this () |
| | Destroy loaded .wav file.
|
| |
|
|
Mix_Chunk * | mSound |
| | The loaded sound chunk.
|
| |
A loaded sound artifact.
Not intended to be called outside of AudioManager.
- See also
- AudioManager
◆ this()
| AudioResource::this |
( |
string | audioFilePath, |
|
|
int | volume = MIX_MAX_VOLUME ) |
|
inline |
Load a .wav file into memory.
- Parameters
-
| audioFilePath | the path to the .wav file. |
| volume | the volume scale to apply to the loaded waveform. |
The documentation for this struct was generated from the following file: