百度语音唤醒时的日志
D/audio_hw_primary: adev_open_input_stream is_karaoke_fastcapture=0
D/audio_hw_primary: adev_open_input_stream: enter: sample_rate(16000) channel_mask(0x10) devices(0x80000004) stream_handle(0xf3439a00) io_handle(454) source(1) format 1
D/audio_hw_primary: io_streams_map_insert: Added stream in io_streams_map with handle 454
D/audio_hw_primary: in_standby: enter: stream (0xf3439a00) usecase(23: audio-record)
D/audio_hw_primary: in_standby: enter: stream (0xf3439a00) usecase(23: audio-record)
D/audio_hw_primary: in_set_parameters: enter: kvpairs=appname=+com.baidu.speech.recognizerdemo
D/audio_hw_primary: adev_create_audio_patch: enter: num sources 1, num_sinks 1, handle 0
D/audio_hw_primary: adev_create_audio_patch: Capture patch from device 80000004 to mix 454
D/audio_hw_primary: update_patch: enter
D/audio_hw_primary: route_input_stream: exit: status(0)
D/audio_hw_primary: adev_create_audio_patch: Added a new patch with handle 57
D/audio_hw_primary: start_input_stream: enter: stream(0xf3439a00)usecase(23: audio-record)
D/audio_hw_primary: select_devices for use case (audio-record)
D/audio_hw_primary: select_devices: out_snd_device(0: ) in_snd_device(135: handset-mic)
D/audio_hw_primary: check_usecases_capture_codec_backend:becf: force routing 1
D/audio_hw_primary: enable_snd_device: snd_device(135: handset-mic)
D/audio_hw_primary: enable_audio_route: apply mixer and update path: audio-record
D/audio_hw_primary: select_devices: done
D/audio_hw_primary: check_and_set_karaok_parameters: is karaok rx device 0, is karaok tx device 0
D/audio_hw_primary: check_and_set_karaok_parameters: is karaok rx device 0, is karaok tx device 0
D/audio_hw_primary: start_input_stream: exit
关闭语音唤醒
D/audio_hw_primary: in_standby: enter: stream (0xf3439a00) usecase(23: audio-record)
D/audio_hw_primary: disable_audio_route: reset and update mixer path: audio-record
D/audio_hw_primary: disable_snd_device: snd_device(135: handset-mic)
D/audio_hw_primary: adev_release_audio_patch: Remove patch with handle 57
D/audio_hw_primary: route_input_stream: exit: status(0)
D/audio_hw_primary: in_set_parameters: enter: kvpairs=appname=-com.baidu.speech.recognizerdemo
D/audio_hw_primary: adev_close_input_stream: enter:stream_handle(0xf3439a00)
D/audio_hw_primary: io_streams_map_remove: Removed stream with handle 454
D/audio_hw_primary: in_standby: enter: stream (0xf3439a00) usecase(23: audio-record)