Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用audio_recorder组件进行对话编程,遭遇W (25056) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!死循环 (AUD-6067) #1371

Closed
welkinchan opened this issue Feb 13, 2025 · 3 comments

Comments

@welkinchan
Copy link

welkinchan commented Feb 13, 2025

  1. 目前项目在线对话多轮对话一直很正常,但是输入离线语音指令的时候,经常会出现

W (25056) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!

增加了ringbuff的reset之后,这个错误有时候会自己恢复。
但是,跑多次之后,总会有一两次进入死循环。
log一直循环输出W (25056) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!,导致设备无法继续唤醒对话。

这个错误每次都是出现在,语音唤醒并且说出离线命令之后才会出现,
其他情况下都不会出现。

===================
以上是我的项目目前的情况,这里想请教一下:

  1. 出现这个错误的原因是什么?应该怎么解决?
  2. multinet进行fetch的时候,是不是必须要将wakenet给disable了才行?
  3. AFE_SR底层的代码是什么样的?如果这个问题我解决不了,是否能提供一个方法,让设备进行这个错误提示的死循环后可以自动重启设备?

=============================
以下是我的部分的log记录。

W (227768) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!

W (227770) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!

W (227772) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!

W (227779) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!

W (227786) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!

W (227793) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!

W (227800) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!

W (227807) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!

W (227814) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!

W (227821) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!

W (227828) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!

W (227835) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!

I (227855) AUDIO_RECORDER: RECORDER_CMD_TRIGGER_STOP [state 0]
E (227869) volcengine_vtt: 发送----》state : 2
E (227869) volcengine_vtt: Read Finished

@github-actions github-actions bot changed the title 使用audio_recorder组件进行对话编程,遭遇W (25056) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!死循环 使用audio_recorder组件进行对话编程,遭遇W (25056) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!死循环 (AUD-6067) Feb 13, 2025
@ALToast
Copy link

ALToast commented Feb 13, 2025

Hi @welkinchan 请参考 #1373

@welkinchan
Copy link
Author

welkinchan commented Feb 14, 2025

Hi @welkinchan 请参考 #1373

如果程序发生了这个错误提示的死循环,有没有什么办法可以让设备自动重启吗?
这个错误提示有什么句柄可以接收进行处理吗?

@welkinchan
Copy link
Author

Hi @welkinchan 请参考 #1373

这个问题已经解决了,把record尽快关掉就没事了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants