Skip to content
Snippets Groups Projects
Commit 6b070506 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Implement lpcnet_plc_get_size()

parent 227537c9
No related branches found
No related tags found
No related merge requests found
......@@ -176,6 +176,7 @@ LPCNET_EXPORT void lpcnet_destroy(LPCNetState *st);
*/
LPCNET_EXPORT void lpcnet_synthesize(LPCNetState *st, const float *features, short *output, int N);
LPCNET_EXPORT int lpcnet_plc_get_size(void);
LPCNET_EXPORT void lpcnet_plc_init(LPCNetPLCState *st);
......
......@@ -31,6 +31,10 @@
#include "lpcnet_private.h"
#include "lpcnet.h"
LPCNET_EXPORT int lpcnet_plc_get_size() {
return sizeof(LPCNetPLCState);
}
LPCNET_EXPORT void lpcnet_plc_init(LPCNetPLCState *st) {
lpcnet_init(&st->lpcnet);
lpcnet_encoder_init(&st->enc);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment