ScummVM API documentation
QDEngine::mpegPlayer Class Reference

Public Types

enum  mpeg_status_t { MPEG_STOPPED, MPEG_PAUSED, MPEG_PLAYING }
 Состояние.
 

Public Member Functions

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 Public Member Functions

static bool init_library (void *dsound_device)
 
static void deinit_library ()
 
static mpegPlayerinstance ()
 

The documentation for this class was generated from the following file: