NUGU SDK Linux  1.7.6

media management More...

+ Collaboration diagram for Media:

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...
 

Detailed Description

media management

Enumeration Type Documentation

◆ nugu_media_status

media status

Enumerator
NUGU_MEDIA_STATUS_STOPPED 

media stopped

NUGU_MEDIA_STATUS_READY 

media ready

NUGU_MEDIA_STATUS_PLAYING 

media playing

NUGU_MEDIA_STATUS_PAUSED 

media paused

◆ nugu_media_event

media event type

Enumerator
NUGU_MEDIA_EVENT_MEDIA_SOURCE_CHANGED 

media source changed

NUGU_MEDIA_EVENT_MEDIA_INVALID 

media invalid

NUGU_MEDIA_EVENT_MEDIA_LOAD_FAILED 

media load failed

NUGU_MEDIA_EVENT_MEDIA_LOADED 

media loaded

NUGU_MEDIA_EVENT_MEDIA_UNDERRUN 

media buffer underrun

NUGU_MEDIA_EVENT_MEDIA_BUFFER_FULL 

media buffer full

NUGU_MEDIA_EVENT_END_OF_STREAM 

end of stream