MixedRealityToolkit
MixedRealityToolkit copied to clipboard
MicStreamSelector doesn't work as expected when "ALREADY_RUNNING"
At the link below, for ALREADY_RUNNING error code, the comment says '// No need to start if it's already running.', however it's not true per my experience. I used MRTK-Unity example source code, which in ALREADY_RUNNING status it doesn't call StartStream which leads to empty buffer error, but if it calls StartStream even the status is ALREADY_RUNNING, it works as expected. So the quick fix for that example is simple (https://github.com/microsoft/MixedRealityToolkit-Unity/pull/10348), but I think it is not what you expected from the code.
I'm using latest version of MRTK-Unity (2.7.2) and Unity (2020.3.24f1).
https://github.com/microsoft/MixedRealityToolkit/blob/main/Input/MicStreamSelector/Source/MicStreamSelector.cpp
@vahpy Have you solved this problem?