boost::optional<ma_voice_key_status_e> next_voice_key_status;
if (MAS_PLUGIN_EVENT_VOICE_KEY_PRESSED == event) {
- if (VOICE_KEY_SUPPORT_MODE_NONE != mCurrentVoiceKeySupportMode) {
- start_recording = true;
+ if (STREAMING_MODE::FOLLOW_UP == mStreamingMode) {
+ MWR_LOGE("Voice key pressed, but currently streaming follow_up audio");
+ } else {
+ if (VOICE_KEY_SUPPORT_MODE_NONE != mCurrentVoiceKeySupportMode) {
+ start_recording = true;
+ }
}
next_voice_key_status = MA_VOICE_KEY_STATUS_PRESSED;
} else if (MAS_PLUGIN_EVENT_VOICE_KEY_RELEASED_AFTER_PUSH == event) {