I am running an AVS Java sample app with RPi3 + PiHAT 2mic on Raspian. I have the java client playing a radio ("Alexa, play CBC Radio"), then I try to use the "listen" button to stop the radio (wakeword engine was not started). At first I got a Java Exception "can't obtain source audio line error". After that I disabled the mp3 playback function in recordingStarted() in AVSController.java, now the java client app just ignores my voice command.
From the log, looks like my comment was properly recorded: E.g. [edited: after I dug through the log a bit more, the following are the ack of my command to play radio, not my stop command]
17:49:00.406 [IndependentDirectiveThread] INFO com.amazon.alexa.avs.AVSController - Handling directive: SpeechRecognizer.StopCapture
17:49:00.406 [IndependentDirectiveThread] DEBUG com.amazon.alexa.avs.SpeechRequestAudioPlayerPauseController - Finished listening to user speech
I am digging deeper into this, but just wonder has anyone seen this before? I am guess is the AudioStateMachine related, or the audio hw is not capable of recording while play back audio.
I went a few more tests, and concluded that once the AudioPlay started to play the radio, no voice command ever received afterward.