summaryrefslogtreecommitdiffstats
path: root/drivers/opus/mlp.h
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2016-05-01 12:48:46 -0300
committerGeorge Marques <george@gmarqu.es>2016-05-02 13:18:34 -0300
commit7c59d819a7ebb936d51ca032e66a2489e4080d08 (patch)
treedf6747620113a36812194db3456729aac2fa1b08 /drivers/opus/mlp.h
parenta3d81cab8a97eeece54ebadb82c40532188b4d57 (diff)
downloadredot-engine-7c59d819a7ebb936d51ca032e66a2489e4080d08.tar.gz
Update Opus driver to 1.1.2
And opusfile to 0.7.
Diffstat (limited to 'drivers/opus/mlp.h')
-rw-r--r--drivers/opus/mlp.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/opus/mlp.h b/drivers/opus/mlp.h
index 3f9ca73bb0..2b4962625d 100644
--- a/drivers/opus/mlp.h
+++ b/drivers/opus/mlp.h
@@ -31,11 +31,13 @@
#include "opus/celt/arch.h"
typedef struct {
- int layers;
- const int *topo;
- const float *weights;
+ int layers;
+ const int *topo;
+ const float *weights;
} MLP;
+extern const MLP net;
+
void mlp_process(const MLP *m, const float *in, float *out);
#endif /* _MLP_H_ */