Single music management.
More...
#include <music.hpp>
|
| | Music () |
| | Create an uninitialized music. More...
|
| |
| | Music (const std::string pathToFile) |
| | Load a music from a path. More...
|
| |
| void | initialize (const std::string pathToFile) |
| | Initialize a music with a path. More...
|
| |
|
void | play () |
| | Play the music.
|
| |
|
void | stop () |
| | Stop the music.
|
| |
|
bool | isPlaying () |
| | Test if the music is playing.
|
| |
Single music management.
Permit to play/stop one music.
Definition at line 36 of file music.hpp.
| hx3d::audio::Music::Music |
( |
| ) |
|
| hx3d::audio::Music::Music |
( |
const std::string |
pathToFile | ) |
|
|
explicit |
Load a music from a path.
- Parameters
-
| pathToFile | Path to audio file. |
Definition at line 30 of file music.cpp.
| void hx3d::audio::Music::initialize |
( |
const std::string |
pathToFile | ) |
|
Initialize a music with a path.
- Parameters
-
| pathToFile | Path to audio file |
Definition at line 38 of file music.cpp.
The documentation for this class was generated from the following files: