Skip to content

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

@vahpy

Description

@vahpy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions