语音唤醒
空白的天空_pjw 发布于2018-07 浏览:1141 回复:4
0
收藏
快速回复
最后编辑于2022-04

问题:跑下载昨天下载的语音SDK里面的demo APP,打开语音唤醒监听,通过top命令查看,demo的CPU占用率50左右,太高了。

系统:Android7.0

芯片配置:A53 4核

下面是log_level=5的部分日志。

收藏
点赞
0
个赞
共4条回复 最后由mq40330回复于2022-04
#5空白的天空_pjw回复于2018-07

日志补充:

一直出现下面重复日志:

0
#4空白的天空_pjw回复于2018-07

日志补充:

一直出现下面重复日志:

D/[CORE_LOG] bds_EventManagerWakeup.cpp:639( 1284): wakeup handler: EWakeupEngineWorkStatusNewData 640
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:70( 1284): Observer received message: WAKEUP.callback
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:74( 1284): param: cb.wak.status.int
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:94( 1284): [BDJNIUtils::findClass] Exception
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:100( 1284): [BDJNIUtils::findClass] Trying again with default method...
D/[CORE_LOG] BDSMessageConversionUtility.cpp:145( 1284): CONVERT PARAM NAME: cb.wak.status.int

0
#3空白的天空_pjw回复于2018-07

日志补充:

D/[CORE_LOG] bds_EventManagerMic.cpp:299( 1284): EventManagerMic::recv_msg recv audio length:640
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:70( 1284): Observer received message: WAKEUP.callback
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:74( 1284): param: cb.wak.result.string
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:74( 1284): param: cb.wak.status.int
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:94( 1284): [BDJNIUtils::findClass] Exception
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:100( 1284): [BDJNIUtils::findClass] Trying again with default method...
D/[CORE_LOG] BDSMessageConversionUtility.cpp:145( 1284): CONVERT PARAM NAME: cb.wak.result.string
D/[CORE_LOG] BDSMessageConversionUtility.cpp:145( 1284): CONVERT PARAM NAME: cb.wak.status.int
D/[CORE_LOG] bds_EventManagerVad.cpp:843( 1284): EventManagerVad::post_data_message
D/[CORE_LOG] bds_EventManagerWakeup.cpp:639( 1284): wakeup handler: EWakeupEngineWorkStatusNewData 640
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:70( 1284): Observer received message: WAKEUP.callback
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:74( 1284): param: cb.wak.status.int
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:94( 1284): [BDJNIUtils::findClass] Exception
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:100( 1284): [BDJNIUtils::findClass] Trying again with default method...
D/[CORE_LOG] BDSMessageConversionUtility.cpp:145( 1284): CONVERT PARAM NAME: cb.wak.status.int
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR =========== calling extend_c_wake_up_decode
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR cost 0.30ms called extend_c_wake_up_decode ret -1
D/[CORE_LOG] bds_EventManagerMic.cpp:299( 1284): EventManagerMic::recv_msg recv audio length:640
D/[CORE_LOG] bds_EventManagerVad.cpp:843( 1284): EventManagerVad::post_data_message
D/[CORE_LOG] bds_EventManagerWakeup.cpp:639( 1284): wakeup handler: EWakeupEngineWorkStatusNewData 640
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:70( 1284): Observer received message: WAKEUP.callback
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:74( 1284): param: cb.wak.status.int
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:94( 1284): [BDJNIUtils::findClass] Exception
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:100( 1284): [BDJNIUtils::findClass] Trying again with default method...
D/[CORE_LOG] BDSMessageConversionUtility.cpp:145( 1284): CONVERT PARAM NAME: cb.wak.status.int
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR =========== calling extend_c_wake_up_decode
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR cost 0.13ms called extend_c_wake_up_decode ret -1
D/[CORE_LOG] bds_EventManagerMic.cpp:299( 1284): EventManagerMic::recv_msg recv audio length:640
D/[CORE_LOG] bds_EventManagerVad.cpp:843( 1284): EventManagerVad::post_data_message
D/[CORE_LOG] bds_EventManagerWakeup.cpp:639( 1284): wakeup handler: EWakeupEngineWorkStatusNewData 640
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:70( 1284): Observer received message: WAKEUP.callback
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:74( 1284): param: cb.wak.status.int
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:94( 1284): [BDJNIUtils::findClass] Exception
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:100( 1284): [BDJNIUtils::findClass] Trying again with default method...
D/[CORE_LOG] BDSMessageConversionUtility.cpp:145( 1284): CONVERT PARAM NAME: cb.wak.status.int
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR =========== calling extend_c_wake_up_decode
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR cost 0.12ms called extend_c_wake_up_decode ret -1
D/[CORE_LOG] bds_EventManagerMic.cpp:299( 1284): EventManagerMic::recv_msg recv audio length:640
D/[CORE_LOG] bds_EventManagerVad.cpp:843( 1284): EventManagerVad::post_data_message

0
#2空白的天空_pjw回复于2018-07

日志:

D/[CORE_LOG] bds_EventManagerMic.cpp:299( 1284): EventManagerMic::recv_msg recv audio length:640
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:70( 1284): Observer received message: WAKEUP.callback
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:74( 1284): param: cb.wak.result.string
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:74( 1284): param: cb.wak.status.int
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:94( 1284): [BDJNIUtils::findClass] Exception
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:100( 1284): [BDJNIUtils::findClass] Trying again with default method...
D/[CORE_LOG] BDSMessageConversionUtility.cpp:145( 1284): CONVERT PARAM NAME: cb.wak.result.string
D/[CORE_LOG] BDSMessageConversionUtility.cpp:145( 1284): CONVERT PARAM NAME: cb.wak.status.int
D/[CORE_LOG] bds_EventManagerVad.cpp:843( 1284): EventManagerVad::post_data_message
D/[CORE_LOG] bds_EventManagerWakeup.cpp:639( 1284): wakeup handler: EWakeupEngineWorkStatusNewData 640
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:70( 1284): Observer received message: WAKEUP.callback
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:74( 1284): param: cb.wak.status.int
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:94( 1284): [BDJNIUtils::findClass] Exception
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:100( 1284): [BDJNIUtils::findClass] Trying again with default method...
D/[CORE_LOG] BDSMessageConversionUtility.cpp:145( 1284): CONVERT PARAM NAME: cb.wak.status.int
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR =========== calling extend_c_wake_up_decode
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR cost 0.30ms called extend_c_wake_up_decode ret -1
D/[CORE_LOG] bds_EventManagerMic.cpp:299( 1284): EventManagerMic::recv_msg recv audio length:640
D/[CORE_LOG] bds_EventManagerVad.cpp:843( 1284): EventManagerVad::post_data_message
D/[CORE_LOG] bds_EventManagerWakeup.cpp:639( 1284): wakeup handler: EWakeupEngineWorkStatusNewData 640
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:70( 1284): Observer received message: WAKEUP.callback
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:74( 1284): param: cb.wak.status.int
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:94( 1284): [BDJNIUtils::findClass] Exception
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:100( 1284): [BDJNIUtils::findClass] Trying again with default method...
D/[CORE_LOG] BDSMessageConversionUtility.cpp:145( 1284): CONVERT PARAM NAME: cb.wak.status.int
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR =========== calling extend_c_wake_up_decode
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR cost 0.13ms called extend_c_wake_up_decode ret -1
D/[CORE_LOG] bds_EventManagerMic.cpp:299( 1284): EventManagerMic::recv_msg recv audio length:640
D/[CORE_LOG] bds_EventManagerVad.cpp:843( 1284): EventManagerVad::post_data_message
D/[CORE_LOG] bds_EventManagerWakeup.cpp:639( 1284): wakeup handler: EWakeupEngineWorkStatusNewData 640
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:70( 1284): Observer received message: WAKEUP.callback
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:74( 1284): param: cb.wak.status.int
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:94( 1284): [BDJNIUtils::findClass] Exception
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:100( 1284): [BDJNIUtils::findClass] Trying again with default method...
D/[CORE_LOG] BDSMessageConversionUtility.cpp:145( 1284): CONVERT PARAM NAME: cb.wak.status.int
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR =========== calling extend_c_wake_up_decode
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR cost 0.12ms called extend_c_wake_up_decode ret -1
D/[CORE_LOG] bds_EventManagerMic.cpp:299( 1284): EventManagerMic::recv_msg recv audio length:640
D/[CORE_LOG] bds_EventManagerVad.cpp:843( 1284): EventManagerVad::post_data_message
D/[CORE_LOG] bds_EventManagerWakeup.cpp:639( 1284): wakeup handler: EWakeupEngineWorkStatusNewData 640
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:70( 1284): Observer received message: WAKEUP.callback
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:74( 1284): param: cb.wak.status.int
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:94( 1284): [BDJNIUtils::findClass] Exception
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:100( 1284): [BDJNIUtils::findClass] Trying again with default method...
D/[CORE_LOG] BDSMessageConversionUtility.cpp:145( 1284): CONVERT PARAM NAME: cb.wak.status.int
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR =========== calling extend_c_wake_up_decode
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR cost 0.54ms called extend_c_wake_up_decode ret -1
D/[CORE_LOG] bds_EventManagerMic.cpp:299( 1284): EventManagerMic::recv_msg recv audio length:640
D/[CORE_LOG] bds_EventManagerVad.cpp:843( 1284): EventManagerVad::post_data_message
D/[CORE_LOG] bds_EventManagerWakeup.cpp:639( 1284): wakeup handler: EWakeupEngineWorkStatusNewData 640
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:70( 1284): Observer received message: WAKEUP.callback
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:74( 1284): param: cb.wak.status.int
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:94( 1284): [BDJNIUtils::findClass] Exception
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:100( 1284): [BDJNIUtils::findClass] Trying again with default method...
D/[CORE_LOG] BDSMessageConversionUtility.cpp:145( 1284): CONVERT PARAM NAME: cb.wak.status.int
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR =========== calling extend_c_wake_up_decode
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR cost 0.14ms called extend_c_wake_up_decode ret -1
D/[CORE_LOG] bds_EventManagerMic.cpp:299( 1284): EventManagerMic::recv_msg recv audio length:640
D/[CORE_LOG] bds_EventManagerVad.cpp:843( 1284): EventManagerVad::post_data_message
D/[CORE_LOG] bds_EventManagerWakeup.cpp:639( 1284): wakeup handler: EWakeupEngineWorkStatusNewData 640
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:70( 1284): Observer received message: WAKEUP.callback
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:74( 1284): param: cb.wak.status.int
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:94( 1284): [BDJNIUtils::findClass] Exception
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:100( 1284): [BDJNIUtils::findClass] Trying again with default method...
D/[CORE_LOG] BDSMessageConversionUtility.cpp:145( 1284): CONVERT PARAM NAME: cb.wak.status.int
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR =========== calling extend_c_wake_up_decode
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR cost 0.11ms called extend_c_wake_up_decode ret -1
D/[CORE_LOG] bds_EventManagerMic.cpp:299( 1284): EventManagerMic::recv_msg recv audio length:640
D/[CORE_LOG] bds_EventManagerVad.cpp:843( 1284): EventManagerVad::post_data_message
D/[CORE_LOG] bds_EventManagerWakeup.cpp:639( 1284): wakeup handler: EWakeupEngineWorkStatusNewData 640
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:70( 1284): Observer received message: WAKEUP.callback
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:74( 1284): param: cb.wak.status.int
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:94( 1284): [BDJNIUtils::findClass] Exception
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:100( 1284): [BDJNIUtils::findClass] Trying again with default method...
D/[CORE_LOG] BDSMessageConversionUtility.cpp:145( 1284): CONVERT PARAM NAME: cb.wak.status.int
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR =========== calling extend_c_wake_up_decode
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR cost 0.15ms called extend_c_wake_up_decode ret -1
D/[CORE_LOG] bds_EventManagerMic.cpp:299( 1284): EventManagerMic::recv_msg recv audio length:640
D/[CORE_LOG] bds_EventManagerVad.cpp:843( 1284): EventManagerVad::post_data_message
D/[CORE_LOG] bds_EventManagerWakeup.cpp:639( 1284): wakeup handler: EWakeupEngineWorkStatusNewData 640
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:70( 1284): Observer received message: WAKEUP.callback
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:74( 1284): param: cb.wak.status.int
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:94( 1284): [BDJNIUtils::findClass] Exception
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:100( 1284): [BDJNIUtils::findClass] Trying again with default method...
D/[CORE_LOG] BDSMessageConversionUtility.cpp:145( 1284): CONVERT PARAM NAME: cb.wak.status.int
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR =========== calling extend_c_wake_up_decode
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR cost 0.63ms called extend_c_wake_up_decode ret -1
D/[CORE_LOG] bds_EventManagerMic.cpp:299( 1284): EventManagerMic::recv_msg recv audio length:640
D/[CORE_LOG] bds_EventManagerVad.cpp:843( 1284): EventManagerVad::post_data_message
D/[CORE_LOG] bds_EventManagerWakeup.cpp:639( 1284): wakeup handler: EWakeupEngineWorkStatusNewData 640
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:70( 1284): Observer received message: WAKEUP.callback
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:74( 1284): param: cb.wak.status.int
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:94( 1284): [BDJNIUtils::findClass] Exception
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:100( 1284): [BDJNIUtils::findClass] Trying again with default method...
D/[CORE_LOG] BDSMessageConversionUtility.cpp:145( 1284): CONVERT PARAM NAME: cb.wak.status.int
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR =========== calling extend_c_wake_up_decode
D/[CORE_LOG] extend_c_interface.h:130( 1284): EASR cost 0.19ms called extend_c_wake_up_decode ret -1
D/[CORE_LOG] bds_EventManagerMic.cpp:299( 1284): EventManagerMic::recv_msg recv audio length:640
D/[CORE_LOG] bds_EventManagerVad.cpp:843( 1284): EventManagerVad::post_data_message
D/[CORE_LOG] bds_EventManagerWakeup.cpp:639( 1284): wakeup handler: EWakeupEngineWorkStatusNewData 640
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:70( 1284): Observer received message: WAKEUP.callback
D/[CORE_LOG] BDSSdkCoreEventObserver.cpp:74( 1284): param: cb.wak.status.int
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:94( 1284): [BDJNIUtils::findClass] Exception
D/[CORE_LOG] bds_AndroidJavaEnvironment.cpp:100( 1284): [BDJNIUtils::findClass] Trying again with default method...
D/[CORE_LOG] BDSMessageConversionUtility.cpp:145( 1284): CONVERT PARAM NAME: cb.wak.status.int

0
TOP
切换版块