NUGU SDK Linux
1.7.6
|
player driver operations More...
#include <nugu_player.h>
Public Attributes | |
int(* | create )(NuguPlayerDriver *driver, NuguPlayer *player) |
Called when player is created. More... | |
void(* | destroy )(NuguPlayerDriver *driver, NuguPlayer *player) |
Called when player is destroyed. More... | |
int(* | get_duration )(NuguPlayerDriver *driver, NuguPlayer *player) |
Called when a playback duration is requested. More... | |
int(* | get_position )(NuguPlayerDriver *driver, NuguPlayer *player) |
Called when a playback position is requested. More... | |
int(* | pause )(NuguPlayerDriver *driver, NuguPlayer *player) |
Called when player is paused. More... | |
int(* | resume )(NuguPlayerDriver *driver, NuguPlayer *player) |
Called when player is resumed. More... | |
int(* | seek )(NuguPlayerDriver *driver, NuguPlayer *player, int sec) |
Called when playback position is changed by seek. More... | |
int(* | set_source )(NuguPlayerDriver *driver, NuguPlayer *player, const char *url) |
Called when set the player source. More... | |
int(* | set_volume )(NuguPlayerDriver *driver, NuguPlayer *player, int vol) |
Called when volume is changed. More... | |
int(* | start )(NuguPlayerDriver *driver, NuguPlayer *player) |
Called when player is started. More... | |
int(* | stop )(NuguPlayerDriver *driver, NuguPlayer *player) |
Called when player is stopped. More... | |
player driver operations
int(* nugu_player_driver_ops::create) (NuguPlayerDriver *driver, NuguPlayer *player) |
Called when player is created.
void(* nugu_player_driver_ops::destroy) (NuguPlayerDriver *driver, NuguPlayer *player) |
Called when player is destroyed.
int(* nugu_player_driver_ops::set_source) (NuguPlayerDriver *driver, NuguPlayer *player, const char *url) |
Called when set the player source.
int(* nugu_player_driver_ops::start) (NuguPlayerDriver *driver, NuguPlayer *player) |
Called when player is started.
int(* nugu_player_driver_ops::stop) (NuguPlayerDriver *driver, NuguPlayer *player) |
Called when player is stopped.
int(* nugu_player_driver_ops::pause) (NuguPlayerDriver *driver, NuguPlayer *player) |
Called when player is paused.
int(* nugu_player_driver_ops::resume) (NuguPlayerDriver *driver, NuguPlayer *player) |
Called when player is resumed.
int(* nugu_player_driver_ops::seek) (NuguPlayerDriver *driver, NuguPlayer *player, int sec) |
Called when playback position is changed by seek.
int(* nugu_player_driver_ops::set_volume) (NuguPlayerDriver *driver, NuguPlayer *player, int vol) |
Called when volume is changed.
int(* nugu_player_driver_ops::get_duration) (NuguPlayerDriver *driver, NuguPlayer *player) |
Called when a playback duration is requested.
int(* nugu_player_driver_ops::get_position) (NuguPlayerDriver *driver, NuguPlayer *player) |
Called when a playback position is requested.