|
NUGU_API int | nugu_player_add (NuguPlayer *player) |
| Add player object to managed list. More...
|
|
NUGU_API NuguPlayerDriver * | nugu_player_driver_find (const char *name) |
| Find a driver by name in the driver list. More...
|
|
NUGU_API int | nugu_player_driver_free (NuguPlayerDriver *driver) |
| Destroy the player driver object. More...
|
|
NUGU_API NuguPlayerDriver * | nugu_player_driver_get_default (void) |
| Get the default player driver. More...
|
|
NUGU_API NuguPlayerDriver * | nugu_player_driver_new (const char *name, struct nugu_player_driver_ops *ops) |
| Create new player driver object. More...
|
|
NUGU_API int | nugu_player_driver_register (NuguPlayerDriver *driver) |
| Register the driver to driver list. More...
|
|
NUGU_API int | nugu_player_driver_remove (NuguPlayerDriver *driver) |
| Remove the driver from driver list. More...
|
|
NUGU_API int | nugu_player_driver_set_default (NuguPlayerDriver *driver) |
| Set the default player driver. More...
|
|
NUGU_API void | nugu_player_emit_event (NuguPlayer *player, enum nugu_media_event event) |
| Emit event to registered callback. More...
|
|
NUGU_API void | nugu_player_emit_status (NuguPlayer *player, enum nugu_media_status status) |
| Emit status to registered callback. More...
|
|
NUGU_API NuguPlayer * | nugu_player_find (const char *name) |
| Find a player object by name in the managed list. More...
|
|
NUGU_API void | nugu_player_free (NuguPlayer *player) |
| Destroy the player object. More...
|
|
NUGU_API int | nugu_player_get_audio_attribute (NuguPlayer *player) |
| Get audio attribute. More...
|
|
NUGU_API const char * | nugu_player_get_audio_attribute_str (NuguPlayer *player) |
| Get audio attribute. More...
|
|
NUGU_API void * | nugu_player_get_driver_data (NuguPlayer *player) |
| Get custom data for driver. More...
|
|
NUGU_API int | nugu_player_get_duration (NuguPlayer *player) |
| Get duration information of player. More...
|
|
NUGU_API int | nugu_player_get_position (NuguPlayer *player) |
| Get current playback position of player. More...
|
|
NUGU_API enum nugu_media_status | nugu_player_get_status (NuguPlayer *player) |
| Get status of player. More...
|
|
NUGU_API int | nugu_player_get_volume (NuguPlayer *player) |
| Get volume of player. More...
|
|
NUGU_API NuguPlayer * | nugu_player_new (const char *name, NuguPlayerDriver *driver) |
| Create new player object. More...
|
|
NUGU_API int | nugu_player_pause (NuguPlayer *player) |
| Pause the player. More...
|
|
NUGU_API int | nugu_player_remove (NuguPlayer *player) |
| Remove player object from managed list. More...
|
|
NUGU_API int | nugu_player_resume (NuguPlayer *player) |
| Resume the player. More...
|
|
NUGU_API int | nugu_player_seek (NuguPlayer *player, int sec) |
| Seek the player. More...
|
|
NUGU_API int | nugu_player_set_audio_attribute (NuguPlayer *player, NuguAudioAttribute attr) |
| Set audio attribute. More...
|
|
NUGU_API int | nugu_player_set_driver_data (NuguPlayer *player, void *data) |
| Set custom data for driver. More...
|
|
NUGU_API void | nugu_player_set_event_callback (NuguPlayer *player, NuguMediaEventCallback cb, void *userdata) |
| Set player event callback. More...
|
|
NUGU_API int | nugu_player_set_position (NuguPlayer *player, int position) |
| Set current playback position of player. More...
|
|
NUGU_API int | nugu_player_set_source (NuguPlayer *player, const char *url) |
| Set source url. More...
|
|
NUGU_API void | nugu_player_set_status_callback (NuguPlayer *player, NuguMediaStatusCallback cb, void *userdata) |
| Set player status callback. More...
|
|
NUGU_API int | nugu_player_set_volume (NuguPlayer *player, int vol) |
| Set volume of player. More...
|
|
NUGU_API int | nugu_player_start (NuguPlayer *player) |
| Start the player. More...
|
|
NUGU_API int | nugu_player_stop (NuguPlayer *player) |
| Stop the player. More...
|
|