NUGU SDK Linux
1.7.6
|
encoder driver operations More...
#include <nugu_encoder.h>
Public Attributes | |
int(* | create )(NuguEncoderDriver *driver, NuguEncoder *enc, NuguAudioProperty property) |
Called when creating a new encoder. More... | |
int(* | destroy )(NuguEncoderDriver *driver, NuguEncoder *enc) |
Called when the encoder is destroyed. More... | |
int(* | encode )(NuguEncoderDriver *driver, NuguEncoder *enc, int is_last, const void *data, size_t data_len, NuguBuffer *out_buf) |
Called when a encoding request is received from the encoder. More... | |
encoder driver operations
int(* nugu_encoder_driver_ops::create) (NuguEncoderDriver *driver, NuguEncoder *enc, NuguAudioProperty property) |
Called when creating a new encoder.
int(* nugu_encoder_driver_ops::encode) (NuguEncoderDriver *driver, NuguEncoder *enc, int is_last, const void *data, size_t data_len, NuguBuffer *out_buf) |
Called when a encoding request is received from the encoder.
int(* nugu_encoder_driver_ops::destroy) (NuguEncoderDriver *driver, NuguEncoder *enc) |
Called when the encoder is destroyed.