|
enum | mpeg_status_t { MPEG_STOPPED,
MPEG_PAUSED,
MPEG_PLAYING
} |
| Состояние.
|
|
|
bool | play (const Common::Path file, bool loop=false, int vol=256) |
|
bool | stop () |
|
bool | pause () |
|
bool | resume () |
|
bool | is_enabled () const |
|
void | enable (bool need_resume=true) |
| Разрешает проигрывание музыки.
|
|
void | disable () |
| Запрещает проигрывание музыки.
|
|
mpeg_status_t | status () const |
|
bool | is_playing () const |
|
uint32 | volume () const |
|
void | set_volume (uint32 vol) |
|
void | syncMusicSettings () |
|
|
static bool | init_library (void *dsound_device) |
|
static void | deinit_library () |
|
static mpegPlayer & | instance () |
|
The documentation for this class was generated from the following file: