alexa / avs-device-sdk

An SDK for commercial device makers to integrate Alexa directly into connected products.
https://developer.amazon.com/alexa/alexa-voice-service
Apache License 2.0
1.26k stars 602 forks source link

The Pa_StopStream function doesn't completely turn off the microphone. #2066

Open jjanggoond opened 1 year ago

jjanggoond commented 1 year ago

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

Briefly summarize your issue:

Calling the Pa_StopStream function through the InteractionManager::microphoneToggle function does not completely turn off the microphone.

What is the expected behavior?

I want the mic to be completely off.

What behavior are you observing?

My device has a led directly connected to the microphone. I want this led to turn off when I call the Pa_StopStream function.

Provide the steps to reproduce the issue, if applicable:

call InteractionManager::microphoneToggle function

Tell us about your environment:

It is a remote control based on embedded linux os. chip : rockchip rk3326 64bit

What version of the AVS Device SDK are you using?

  <3.0.0>

Tell us what hardware you're using:

Tell us about your OS (Type & version):

watsocao commented 1 year ago

Hi @jjanggoond , Thank you for bringing this issue to our attention. Controlling Microphone and peripheral (LED in this case) should be platform-specific. I believe the vendor BSP (rockchip rk3326 as you mentioned) should provide the implementation. Thanks,