NUGU SDK Linux
1.7.6
|
Go to the source code of this file.
Classes | |
struct | nugu_encoder_driver_ops |
encoder driver operations More... | |
Typedefs | |
typedef struct _nugu_encoder | NuguEncoder |
encoder object | |
typedef struct _nugu_encoder_driver | NuguEncoderDriver |
encoder driver object | |
Enumerations | |
enum | nugu_encoder_type { NUGU_ENCODER_TYPE_SPEEX , NUGU_ENCODER_TYPE_OPUS , NUGU_ENCODER_TYPE_CUSTOM = 99 } |
encoder type More... | |
Functions | |
NUGU_API NuguEncoderDriver * | nugu_encoder_driver_find (const char *name) |
Find a driver by name in the driver list. More... | |
NUGU_API NuguEncoderDriver * | nugu_encoder_driver_find_bytype (enum nugu_encoder_type type) |
Find a driver by type in the driver list. More... | |
NUGU_API int | nugu_encoder_driver_free (NuguEncoderDriver *driver) |
Destroy the encoder driver. More... | |
NUGU_API NuguEncoderDriver * | nugu_encoder_driver_new (const char *name, enum nugu_encoder_type type, struct nugu_encoder_driver_ops *ops) |
Create new encoder driver. More... | |
NUGU_API int | nugu_encoder_driver_register (NuguEncoderDriver *driver) |
Register the driver to driver list. More... | |
NUGU_API int | nugu_encoder_driver_remove (NuguEncoderDriver *driver) |
Remove the driver from driver list. More... | |
NUGU_API void * | nugu_encoder_encode (NuguEncoder *enc, int is_last, const void *data, size_t data_len, size_t *output_len) |
Encode the encoded data. More... | |
NUGU_API int | nugu_encoder_free (NuguEncoder *enc) |
Destroy the encoder object. More... | |
NUGU_API const char * | nugu_encoder_get_codec (NuguEncoder *enc) |
Get encoder codec. e.g. "OGG_OPUS" or "SPEEX". More... | |
NUGU_API void * | nugu_encoder_get_driver_data (NuguEncoder *enc) |
Get custom data for driver. More... | |
NUGU_API const char * | nugu_encoder_get_mime_type (NuguEncoder *enc) |
Get encoder mime type. More... | |
NUGU_API NuguEncoder * | nugu_encoder_new (NuguEncoderDriver *driver, NuguAudioProperty property) |
Create new encoder object. More... | |
NUGU_API int | nugu_encoder_set_driver_data (NuguEncoder *enc, void *data) |
Set custom data for driver. More... | |