NUGU SDK Linux  1.7.6
nugu_media.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NUGU_SET_LOADING_TIMEOUT   5
 Default value of loading timeout.
 
#define NUGU_SET_VOLUME_DEFAULT   50
 Default value of volume.
 
#define NUGU_SET_VOLUME_MAX   100
 Default value of maximum volume.
 
#define NUGU_SET_VOLUME_MIN   0
 Default value of minimum volume.
 

Typedefs

typedef void(* NuguMediaEventCallback) (enum nugu_media_event event, void *userdata)
 Callback type for media event.
 
typedef void(* NuguMediaStatusCallback) (enum nugu_media_status status, void *userdata)
 Callback type for media status.
 

Enumerations

enum  nugu_media_event {
  NUGU_MEDIA_EVENT_MEDIA_SOURCE_CHANGED , NUGU_MEDIA_EVENT_MEDIA_INVALID , NUGU_MEDIA_EVENT_MEDIA_LOAD_FAILED , NUGU_MEDIA_EVENT_MEDIA_LOADED ,
  NUGU_MEDIA_EVENT_MEDIA_UNDERRUN , NUGU_MEDIA_EVENT_MEDIA_BUFFER_FULL , NUGU_MEDIA_EVENT_END_OF_STREAM , NUGU_MEDIA_EVENT_MAX
}
 media event type More...
 
enum  nugu_media_status { NUGU_MEDIA_STATUS_STOPPED , NUGU_MEDIA_STATUS_READY , NUGU_MEDIA_STATUS_PLAYING , NUGU_MEDIA_STATUS_PAUSED }
 media status More...