static int g_buffer_count = 0;
if (nullptr == voice_data) return;
- if (g_voice_key_pressed) {
- set_audio_source_type(VC_AUDIO_ID_BLUETOOTH);
+ set_audio_source_type(VC_AUDIO_ID_BLUETOOTH);
- g_proxy_interface.feed_audio_data(WAKEUP_SPEECH_STREAMING_EVENT_CONTINUE,
- voice_data->audio_buf, voice_data->length);
- } else {
- LOGE("[Recorder ERROR] voice key seems to be already released");
- return;
- }
+ g_proxy_interface.feed_audio_data(WAKEUP_SPEECH_STREAMING_EVENT_CONTINUE,
+ voice_data->audio_buf, voice_data->length);
#ifdef BUF_SAVE_MODE
/* write pcm buffer */