Jinoh Kang (@iamahuman) commented about dlls/windows.media.speech/recognizer.c:
memcpy(tmp_buf + tmp_buf_offset, audio_buf, packet_size);tmp_buf_offset += packet_size;IAudioCaptureClient_ReleaseBuffer(impl->capture_client, frames_available);}/* TODO: Send mic data to recognizer and handle results. */}else{ERR("Unexpected state entered. Aborting worker!\n");break;}- }
- IAudioClient_Stop(impl->audio_client);
You should reset `IAudioClient` here as well.
```suggestion:-0+0 IAudioClient_Stop(impl->audio_client); IAudioClient_Reset(impl->audio_client); ```