59 int (*initializeModule)(
const char *moduleConfiguration);
60 int (*deinitializeModule)();
61 const char *(*getModuleDescriptor)();
64 ENGAGE_HANDLE (*createInstance)(
const char *instanceConfiguration);
65 void (*deleteInstance)(ENGAGE_HANDLE h);
66 const char *(*getInstanceDescriptor)(ENGAGE_HANDLE h);
68 void (*startInstance)(ENGAGE_HANDLE h);
69 void (*stopInstance)(ENGAGE_HANDLE h);
70 void (*pauseInstance)(ENGAGE_HANDLE h);
71 void (*resumeInstance)(ENGAGE_HANDLE h);
72 void (*resetInstance)(ENGAGE_HANDLE h);
81 void (*setEncoderFramingMs)(ENGAGE_HANDLE h,
int ms);
82 void (*feedEncoder)(ENGAGE_HANDLE h,
const int16_t *pInput,
size_t inputSize,
int vadResult);
83 size_t (*extractFromEncoder)(ENGAGE_HANDLE h, uint8_t *pOutput,
size_t *pSamplesEncoded);
86 int (*decodeUsingDecoder)(ENGAGE_HANDLE h,
const uint8_t *pInput,
size_t inputSize, int16_t *pOutput,
size_t maxOutputSize);