NUGU SDK Linux
1.7.6
|
#include <nugu.h>
Go to the source code of this file.
Classes | |
struct | nugu_audio_property |
audio property More... | |
Typedefs | |
typedef enum nugu_audio_attribute | NuguAudioAttribute |
NuguAudioAttribute. | |
typedef struct nugu_audio_property | NuguAudioProperty |
NuguAudioProperty. | |
Enumerations | |
enum | nugu_audio_attribute { NUGU_AUDIO_ATTRIBUTE_MUSIC = 1 , NUGU_AUDIO_ATTRIBUTE_RINGTONE , NUGU_AUDIO_ATTRIBUTE_CALL , NUGU_AUDIO_ATTRIBUTE_NOTIFICATION , NUGU_AUDIO_ATTRIBUTE_ALARM , NUGU_AUDIO_ATTRIBUTE_VOICE_COMMAND , NUGU_AUDIO_ATTRIBUTE_NAVIGATION , NUGU_AUDIO_ATTRIBUTE_SYSTEM_SOUND } |
audio attribute More... | |
enum | nugu_audio_format { NUGU_AUDIO_FORMAT_S8 , NUGU_AUDIO_FORMAT_U8 , NUGU_AUDIO_FORMAT_S16_LE , NUGU_AUDIO_FORMAT_S16_BE , NUGU_AUDIO_FORMAT_U16_LE , NUGU_AUDIO_FORMAT_U16_BE , NUGU_AUDIO_FORMAT_S24_LE , NUGU_AUDIO_FORMAT_S24_BE , NUGU_AUDIO_FORMAT_U24_LE , NUGU_AUDIO_FORMAT_U24_BE , NUGU_AUDIO_FORMAT_S32_LE , NUGU_AUDIO_FORMAT_S32_BE , NUGU_AUDIO_FORMAT_U32_LE , NUGU_AUDIO_FORMAT_U32_BE , NUGU_AUDIO_FORMAT_MAX } |
audio format More... | |
enum | nugu_audio_sample_rate { NUGU_AUDIO_SAMPLE_RATE_8K , NUGU_AUDIO_SAMPLE_RATE_16K , NUGU_AUDIO_SAMPLE_RATE_32K , NUGU_AUDIO_SAMPLE_RATE_22K , NUGU_AUDIO_SAMPLE_RATE_44K , NUGU_AUDIO_SAMPLE_RATE_MAX } |
audio sample rate More... | |
Functions | |
NUGU_API NuguAudioAttribute | nugu_audio_get_attribute (const char *str) |
Get audio attribute type from string. More... | |
NUGU_API const char * | nugu_audio_get_attribute_str (const NuguAudioAttribute attribute) |
Get audio attribute string. More... | |
NUGU_API void | nugu_audio_set_attribute_str (const NuguAudioAttribute attribute, const char *str) |
Set audio attribute string. More... | |
enum nugu_audio_format |
audio format
enum nugu_audio_attribute |
audio attribute
NUGU_API void nugu_audio_set_attribute_str | ( | const NuguAudioAttribute | attribute, |
const char * | str | ||
) |
Set audio attribute string.
[in] | attribute | audio attribute |
[in] | str | audio attribute's string |
NUGU_API const char* nugu_audio_get_attribute_str | ( | const NuguAudioAttribute | attribute | ) |
Get audio attribute string.
[in] | attribute | audio attribute |
NUGU_API NuguAudioAttribute nugu_audio_get_attribute | ( | const char * | str | ) |
Get audio attribute type from string.
[in] | str | audio attribute's string |