17 #ifndef __NUGU_AUDIO_H__
18 #define __NUGU_AUDIO_H__
30 #define NUGU_AUDIO_ATTRIBUTE_MUSIC_DEFAULT_STRING "MUSIC"
31 #define NUGU_AUDIO_ATTRIBUTE_RINGTONE_DEFAULT_STRING "RINGTONE"
32 #define NUGU_AUDIO_ATTRIBUTE_CALL_DEFAULT_STRING "CALL"
33 #define NUGU_AUDIO_ATTRIBUTE_NOTIFICATION_DEFAULT_STRING "NOTIFICATION"
34 #define NUGU_AUDIO_ATTRIBUTE_ALARM_DEFAULT_STRING "ALARM"
35 #define NUGU_AUDIO_ATTRIBUTE_VOICE_COMMAND_DEFAULT_STRING "VOICE_COMMAND"
36 #define NUGU_AUDIO_ATTRIBUTE_NAVIGATION_DEFAULT_STRING "NAVIGATION"
37 #define NUGU_AUDIO_ATTRIBUTE_SYSTEM_SOUND_DEFAULT_STRING "SYSTEM_SOUND"
48 NUGU_AUDIO_SAMPLE_RATE_MAX
121 NUGU_API
const char *
nugu_audio_attribute
audio attribute
Definition: nugu_audio.h:75
@ NUGU_AUDIO_ATTRIBUTE_NAVIGATION
Definition: nugu_audio.h:84
@ NUGU_AUDIO_ATTRIBUTE_MUSIC
Definition: nugu_audio.h:76
@ NUGU_AUDIO_ATTRIBUTE_NOTIFICATION
Definition: nugu_audio.h:79
@ NUGU_AUDIO_ATTRIBUTE_CALL
Definition: nugu_audio.h:78
@ NUGU_AUDIO_ATTRIBUTE_RINGTONE
Definition: nugu_audio.h:77
@ NUGU_AUDIO_ATTRIBUTE_ALARM
Definition: nugu_audio.h:81
@ NUGU_AUDIO_ATTRIBUTE_SYSTEM_SOUND
Definition: nugu_audio.h:85
@ NUGU_AUDIO_ATTRIBUTE_VOICE_COMMAND
Definition: nugu_audio.h:82
nugu_audio_sample_rate
audio sample rate
Definition: nugu_audio.h:42
@ NUGU_AUDIO_SAMPLE_RATE_44K
Definition: nugu_audio.h:47
@ NUGU_AUDIO_SAMPLE_RATE_16K
Definition: nugu_audio.h:44
@ NUGU_AUDIO_SAMPLE_RATE_22K
Definition: nugu_audio.h:46
@ NUGU_AUDIO_SAMPLE_RATE_8K
Definition: nugu_audio.h:43
@ NUGU_AUDIO_SAMPLE_RATE_32K
Definition: nugu_audio.h:45
NUGU_API const char * nugu_audio_get_attribute_str(const NuguAudioAttribute attribute)
Get audio attribute string.
enum nugu_audio_attribute NuguAudioAttribute
NuguAudioAttribute.
Definition: nugu_audio.h:101
nugu_audio_format
audio format
Definition: nugu_audio.h:54
@ NUGU_AUDIO_FORMAT_U24_LE
Definition: nugu_audio.h:63
@ NUGU_AUDIO_FORMAT_U32_BE
Definition: nugu_audio.h:68
@ NUGU_AUDIO_FORMAT_U16_BE
Definition: nugu_audio.h:60
@ NUGU_AUDIO_FORMAT_S24_LE
Definition: nugu_audio.h:61
@ NUGU_AUDIO_FORMAT_U24_BE
Definition: nugu_audio.h:64
@ NUGU_AUDIO_FORMAT_S24_BE
Definition: nugu_audio.h:62
@ NUGU_AUDIO_FORMAT_U32_LE
Definition: nugu_audio.h:67
@ NUGU_AUDIO_FORMAT_U16_LE
Definition: nugu_audio.h:59
@ NUGU_AUDIO_FORMAT_S32_LE
Definition: nugu_audio.h:65
@ NUGU_AUDIO_FORMAT_S16_BE
Definition: nugu_audio.h:58
@ NUGU_AUDIO_FORMAT_U8
Definition: nugu_audio.h:56
@ NUGU_AUDIO_FORMAT_S8
Definition: nugu_audio.h:55
@ NUGU_AUDIO_FORMAT_S16_LE
Definition: nugu_audio.h:57
@ NUGU_AUDIO_FORMAT_S32_BE
Definition: nugu_audio.h:66
NUGU_API void nugu_audio_set_attribute_str(const NuguAudioAttribute attribute, const char *str)
Set audio attribute string.
NUGU_API NuguAudioAttribute nugu_audio_get_attribute(const char *str)
Get audio attribute type from string.
audio property
Definition: nugu_audio.h:92