|
#define | GATE_MEDIAPLAYER_STATUS_UNKONWN 0x0000 |
|
#define | GATE_MEDIAPLAYER_STATUS_IDLE 0x0001 |
|
#define | GATE_MEDIAPLAYER_STATUS_PLAYING 0x0010 |
|
#define | GATE_MEDIAPLAYER_STATUS_STOPPED 0x0020 |
|
#define | GATE_MEDIAPLAYER_STATUS_PAUSED 0x0040 |
|
#define | GATE_MEDIAPLAYER_STATUS_SEEKING 0x0080 |
|
#define | GATE_MEDIAPLAYER_STATUS_RECORDING 0x0010 |
|
#define | GATE_MEDIAPLAYER_STATUS_ERROR 0xf000 |
|
#define | GATE_MEDIAPLAYER_FORMAT_AUDIOFILE 0x1001 |
|
#define | GATE_MEDIAPLAYER_FORMAT_VIDEOFILE 0x2001 |
|
|
GATE_TECH_API gate_result_t | gate_mediaplayer_enum (gate_mediaplayer_enum_callback_t cb, void *cb_param, unsigned format_flags) |
|
GATE_TECH_API gate_result_t | gate_mediaplayer_open (gate_mediaplayer_id_t id, gate_mediaplayer_device_t *ptr_device) |
|
GATE_TECH_API gate_result_t | gate_mediaplayer_close (gate_mediaplayer_device_t *ptr_device) |
|
GATE_TECH_API gate_result_t | gate_mediaplayer_load_file (gate_mediaplayer_device_t *ptr_device, gate_string_t const *file_path) |
|
GATE_TECH_API gate_result_t | gate_mediaplayer_status (gate_mediaplayer_device_t *ptr_device, gate_mediaplayer_status_t *ptr_status) |
|
GATE_TECH_API gate_result_t | gate_mediaplayer_play (gate_mediaplayer_device_t *ptr_device) |
|
GATE_TECH_API gate_result_t | gate_mediaplayer_stop (gate_mediaplayer_device_t *ptr_device) |
|
Media file player support.