Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MicStreamSelector doesn't work as expected when "ALREADY_RUNNING" #277

Open
vahpy opened this issue Dec 3, 2021 · 1 comment
Open

MicStreamSelector doesn't work as expected when "ALREADY_RUNNING" #277

vahpy opened this issue Dec 3, 2021 · 1 comment

Comments

@vahpy
Copy link

vahpy commented Dec 3, 2021

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 (microsoft/MixedRealityToolkit-Unity#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

@shoukailiang
Copy link

@vahpy Have you solved this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants