NUGU SDK Linux
1.7.6
|
Go to the source code of this file.
Classes | |
struct | nugu_decoder_driver_ops |
decoder driver operations More... | |
Typedefs | |
typedef struct _nugu_decoder | NuguDecoder |
decoder object | |
typedef struct _nugu_decoder_driver | NuguDecoderDriver |
decoder driver object | |
Enumerations | |
enum | nugu_decoder_type { NUGU_DECODER_TYPE_OPUS , NUGU_DECODER_TYPE_CUSTOM = 99 } |
decoder type More... | |
Functions | |
NUGU_API void * | nugu_decoder_decode (NuguDecoder *dec, const void *data, size_t data_len, size_t *output_len) |
Decode the encoded data. More... | |
NUGU_API NuguDecoderDriver * | nugu_decoder_driver_find (const char *name) |
Find a driver by name in the driver list. More... | |
NUGU_API NuguDecoderDriver * | nugu_decoder_driver_find_bytype (enum nugu_decoder_type type) |
Find a driver by type in the driver list. More... | |
NUGU_API int | nugu_decoder_driver_free (NuguDecoderDriver *driver) |
Destroy the decoder driver. More... | |
NUGU_API NuguDecoderDriver * | nugu_decoder_driver_new (const char *name, enum nugu_decoder_type type, struct nugu_decoder_driver_ops *ops) |
Create new decoder driver. More... | |
NUGU_API int | nugu_decoder_driver_register (NuguDecoderDriver *driver) |
Register the driver to driver list. More... | |
NUGU_API int | nugu_decoder_driver_remove (NuguDecoderDriver *driver) |
Remove the driver from driver list. More... | |
NUGU_API int | nugu_decoder_free (NuguDecoder *dec) |
Destroy the decoder object. More... | |
NUGU_API void * | nugu_decoder_get_driver_data (NuguDecoder *dec) |
Get custom data for driver. More... | |
NUGU_API NuguPcm * | nugu_decoder_get_pcm (NuguDecoder *dec) |
Get pcm(sink) object. More... | |
NUGU_API NuguDecoder * | nugu_decoder_new (NuguDecoderDriver *driver, NuguPcm *sink) |
Create new decoder object. More... | |
NUGU_API int | nugu_decoder_play (NuguDecoder *dec, const void *data, size_t data_len) |
Decode the encoded data and pass the result to sink. More... | |
NUGU_API int | nugu_decoder_set_driver_data (NuguDecoder *dec, void *data) |
Set custom data for driver. More... | |