NUGU SDK Linux  1.7.6
nugu_decoder_driver_ops Struct Reference

decoder driver operations More...

#include <nugu_decoder.h>

Public Attributes

int(* create )(NuguDecoderDriver *driver, NuguDecoder *dec)
 Called when creating a new decoder. More...
 
int(* decode )(NuguDecoderDriver *driver, NuguDecoder *dec, const void *data, size_t data_len, NuguBuffer *out_buf)
 Called when a decoding request is received from the decoder. More...
 
int(* destroy )(NuguDecoderDriver *driver, NuguDecoder *dec)
 Called when the decoder is destroyed. More...
 

Detailed Description

decoder driver operations

See also
nugu_decoder_driver_new()

Member Data Documentation

◆ create

int(* nugu_decoder_driver_ops::create) (NuguDecoderDriver *driver, NuguDecoder *dec)

Called when creating a new decoder.

See also
nugu_decoder_new()

◆ decode

int(* nugu_decoder_driver_ops::decode) (NuguDecoderDriver *driver, NuguDecoder *dec, const void *data, size_t data_len, NuguBuffer *out_buf)

Called when a decoding request is received from the decoder.

See also
nugu_decoder_decode()

◆ destroy

int(* nugu_decoder_driver_ops::destroy) (NuguDecoderDriver *driver, NuguDecoder *dec)

Called when the decoder is destroyed.

See also
nugu_decoder_free()

The documentation for this struct was generated from the following file: