Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

configureRecognizeMode #2045

Open
7 tasks
ventilin opened this issue Aug 2, 2022 · 2 comments
Open
7 tasks

configureRecognizeMode #2045

ventilin opened this issue Aug 2, 2022 · 2 comments

Comments

@ventilin
Copy link

ventilin commented Aug 2, 2022

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.

Briefly summarize your issue:

In android R, the alexa apk (com.amazon.dee.app_2.2.466191.0-908958310_minAPI26(armeabi-v7a)(nodpi)_apkmirror.com.apk), after install and register it. It can recgnize, analysis (or parsing ) and speak out.
But I build AVS SDK (1.26.0) and run sample, it can register but after recording it can't go to analysis.

What is the expected behavior?

I assume run sample binary, after register done, it could recording, analysis and speak out...

What behavior are you observing?

After run and register sample, press 't", I not sure it finish recode process or not, but after this not go to analysis step...

Provide the steps to reproduce the issue, if applicable:

Tell us about your environment:

What version of the AVS Device SDK are you using?

  <x.y.z>

Tell us what hardware you're using:

  • Desktop / Laptop
  • Raspberry Pi
  • Other - tell us more:

Tell us about your OS (Type & version):

  • Linux
  • MacOS
  • Raspbian Stretch
  • Raspbian Jessy
  • [V ] Other - tell us more:
    Android platform
@blazusiak-amazon
Copy link

Hello @ventilin
Could you provide the information provided in the template so that we can better help you:

  • Summary of the issue
  • Expected Behavior
  • Steps to Reproduce
  • Version of the SDK being used
  • Hardware and OS being used

@ventilin
Copy link
Author

ventilin commented Aug 23, 2022

Hi @blazusiak-amazon
I will prepare log...and update on here.

08-25 20:54:10.195 2491 2540 W libOpenSLES: Conversion from OpenSL ES positional channel mask 0x4 to Android mask 0 loses channels 08-25 20:54:10.195 2491 2540 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x4, using default mask 0x10 based on channel count of 1) 08-25 20:54:10.198 289 289 D audio_hw_primary_v4.01.11: adev_open_input_stream device 80000004 08-25 20:54:10.199 289 289 D AudioUtil: [device/realtek/proprietary/libs/hardware/AudioUtil/AudioUtil.cpp:1984] GetAudioInMode(), mode=9 08-25 20:54:10.199 289 289 D audio_hw_primary_v4.01.11: open audioIn device node: /dev/snd/pcmC0D9c setting vendor.audio.in = 9 08-25 20:54:10.199 289 289 D audio_hw_primary_v4.01.11: to query card 0 device 9 08-25 20:54:10.199 289 289 D audio_hw_primary_v4.01.11: requested channel_count 1 in->config.channels 2 08-25 20:54:10.202 289 289 D AudioUtil: [device/realtek/proprietary/libs/hardware/AudioUtil/AudioUtil.cpp:1984] GetAudioInMode(), mode=9 08-25 20:54:10.203 289 289 D AudioUtil: [device/realtek/proprietary/libs/hardware/AudioUtil/AudioUtil.cpp:1984] GetAudioInMode(), mode=9 08-25 20:54:10.204 348 516 W AudioFlinger: createRecordTrack_l(): mismatch between requested flags (00000005) and input flags (00000001) 08-25 20:54:10.204 348 2555 I AudioFlinger: AudioFlinger's thread 0xeaad5100 tid=2555 ready to run 08-25 20:54:10.207 574 1219 I SoundTriggerMiddlewareLogging: setCaptureState[this=com.android.server.soundtrigger_middleware.SoundTriggerMiddlewareImpl@e6e43a8, caller=1041/348](false) 08-25 20:54:10.208 289 323 D audio_hw_primary_v4.01.11: adev_open_input_stream device 80000004 08-25 20:54:10.208 289 323 D AudioUtil: [device/realtek/proprietary/libs/hardware/AudioUtil/AudioUtil.cpp:1984] GetAudioInMode(), mode=9 08-25 20:54:10.208 289 323 D audio_hw_primary_v4.01.11: open audioIn device node: /dev/snd/pcmC0D9c setting vendor.audio.in = 9 08-25 20:54:10.208 289 323 D audio_hw_primary_v4.01.11: to query card 0 device 9 08-25 20:54:10.208 289 323 D audio_hw_primary_v4.01.11: requested channel_count 1 in->config.channels 2 08-25 20:54:10.209 574 877 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4 08-25 20:54:10.209 574 877 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4 08-25 20:54:10.209 574 750 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4 08-25 20:54:10.211 289 323 D AudioUtil: [device/realtek/proprietary/libs/hardware/AudioUtil/AudioUtil.cpp:1984] GetAudioInMode(), mode=9 08-25 20:54:10.212 289 323 D AudioUtil: [device/realtek/proprietary/libs/hardware/AudioUtil/AudioUtil.cpp:1984] GetAudioInMode(), mode=9 08-25 20:54:10.216 2491 2540 W libOpenSLES: Leaving Record::SetRecordState (SL_RESULT_PARAMETER_INVALID) 08-25 20:54:10.221 348 2557 I AudioFlinger: AudioFlinger's thread 0xeaad5fc0 tid=2557 ready to run 08-25 20:54:10.223 289 323 D audio_hw_primary_v4.01.11: in_set_parameters bottom=;input_source=1;routing=-2147483644 08-25 20:54:10.223 574 1219 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4 08-25 20:54:10.224 574 877 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4 08-25 20:54:10.226 574 1219 I SoundTriggerMiddlewareLogging: setCaptureState[this=com.android.server.soundtrigger_middleware.SoundTriggerMiddlewareImpl@e6e43a8, caller=1041/348](true) 08-25 20:54:10.228 289 323 E FMQ : grantorIdx must be less than 3 08-25 20:54:10.228 289 323 E FMQ : grantorIdx must be less than 3 08-25 20:54:10.229 348 2557 E FMQ : grantorIdx must be less than 3 08-25 20:54:10.230 348 2557 E FMQ : grantorIdx must be less than 3 08-25 20:54:10.230 289 2558 D audio_hw_primary_v4.01.11: to query card 0 device 9 08-25 20:54:10.230 289 2558 D audio_hw_primary_v4.01.11: setup_stereo_to_mono_input_remix 08-25 20:54:10.230 289 2558 D audio_hw_primary_v4.01.11: in_pcm_open card 0 device 9 config rate 48000 08-25 20:54:10.230 289 2558 D audio_hw_primary_v4.01.11: pcm_open rate: 48000 ch: 2 p_size: 1024 p_count: 4 08-25 20:54:10.234 289 2558 D audio_hw_primary_v4.01.11: remix at driver downmix channels 2 -> 1 1 08-25 20:54:11.397 574 653 E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.978) failed {.code = ERROR_UNKNOWN, .description = unknown error} 08-25 20:54:14.406 574 653 E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.978) failed {.code = ERROR_UNKNOWN, .description = unknown error} 08-25 20:54:15.938 574 750 I WifiService: startScan uid=1000 08-25 20:54:15.958 574 750 D WifiNl80211Manager: Scan result ready event 08-25 20:54:15.958 574 750 D WifiNative: Scan result ready event 08-25 20:54:15.959 574 591 I EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: true 08-25 20:54:15.998 574 656 D WificondScannerImpl: Filtering out 17 scan results. 08-25 20:54:16.021 574 653 E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.978) failed {.code = ERROR_UNKNOWN, .description = unknown error} 08-25 20:54:16.204 574 584 I system_server: Background concurrent copying GC freed 261299(8473KB) AllocSpace objects, 2(120KB) LOS objects, 49% free, 8362KB/16MB, paused 185us total 186.205ms 08-25 20:54:17.016 289 323 D audio_hw_primary_v4.01.11: do_input_standby to close PCM_IN 08-25 20:54:17.016 574 2286 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4 08-25 20:54:17.039 289 323 D audio_hw_primary_v4.01.11: in_set_parameters routing=0 08-25 20:54:17.041 574 750 I SoundTriggerMiddlewareLogging: setCaptureState[this=com.android.server.soundtrigger_middleware.SoundTriggerMiddlewareImpl@e6e43a8, caller=1041/348](false) 08-25 20:54:17.041 574 2286 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4 08-25 20:54:17.045 574 750 I SoundTriggerMiddlewareLogging: setCaptureState[this=com.android.server.soundtrigger_middleware.SoundTriggerMiddlewareImpl@e6e43a8, caller=1041/348](false)

@kjkh kjkh added the Android label Sep 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants