bugfix(mfcc): fix the crash issus in mfcc destory function

This commit is contained in:
sxy 2022-10-09 17:26:13 +08:00
parent ce9e82a6d4
commit d6dfaa7df8
12 changed files with 7 additions and 4 deletions

View File

@ -85,8 +85,8 @@ choice SR_WN_MODEL_LOAD
bool "nihaoxiaozhi (wn9_nihaoxiaozhi)"
depends on IDF_TARGET_ESP32S3
config SR_WN_CUSTOMIZED_WORD
bool "customized word (wn9_customizedword)"
config SR_WN_WN9_CUSTOMWORD
bool "customized word (wn9_customword)"
depends on IDF_TARGET_ESP32S3
config SR_WN_LOAD_MULIT_WORD

View File

@ -20,7 +20,7 @@ typedef float fptp_t;
//Flags for matrices
#define DL_MF_FOREIGNDATA (1<<0) /*< Matrix *item data actually points to another matrix and should not be freed */
// #define DL_MF_FOREIGNDATA (0) /*< Matrix *item data actually points to another matrix and should not be freed */
//Float convolution FIFO queue.
typedef struct {

View File

@ -32,7 +32,7 @@ extern multi_heap_handle_t gst_heap;
#endif
//Flags for matrices
#define DL_MF_FOREIGNDATA (1<<0) /*< Matrix *item data actually points to another matrix and should not be freed */
#define DL_MF_FOREIGNDATA (0) /*< Matrix *item data actually points to another matrix and should not be freed */
//'Normal' float matrix
typedef struct {

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -56,6 +56,8 @@ if "CONFIG_SR_WN_WN9_HIESP" in WN_STRING:
wakenet_model.append('wn9_hiesp')
if "CONFIG_SR_WN_WN9_NIHAOXIAOZHI" in WN_STRING:
wakenet_model.append('wn9_nihaoxiaozhi')
if "CONFIG_SR_WN_WN9_CUSTOMWORD" in WN_STRING:
wakenet_model.append('wn9_customword')
multinet_model = []
if "CONFIG_SR_MN_CN_MULTINET3_SINGLE_RECOGNITION" in MN_STRING and len(multinet_model) < 2:

View File

@ -0,0 +1 @@
WakeNet9_v1h24_xiaoaitongxue_3_0.620_0.627

Binary file not shown.

Binary file not shown.