espressif / esp-skainet

Espressif intelligent voice assistant
Other
533 stars 117 forks source link

E (40851) AFE_SR: afe_feed_aec_init_false: se_lock is NULL! (AIS-1312) #111

Open casitelwithdean opened 10 months ago

casitelwithdean commented 10 months ago

hi,我在feed task和fetch task 加入了一些自己的程序,如i2s_write等用来播放音频。SR初始化没问题,语音唤醒也是没问题的,但是唤醒之后会出现AFE_SR: afe_feed_aec_init_false: se_lock is NULL!的串口打印,请问这个问题是因为什么呢?是因为fetch的不及时?还是因为feed的不及时呢? 谢谢!

BlueSkyB commented 10 months ago

Hi casitelwithdean, se_lock 是把锁,在SR初始化时创建,在SR destroy时销毁,并置为NULL。 可以查看下程序运行时,是否有SR destroy的不合理/异步操作。