You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
lugia19
changed the title
Access violation on Windows when opening two different microphones on separate threads
Access violation (0xC0000005) on Windows when opening two different microphones on separate threads
Jun 6, 2023
Steps to reproduce
Here's some code that reliably causes the issue:
Expected behaviour
It should begin listening on both devices.
Actual behaviour
I get an access violation.
System information
Running on windows 10, latest version of the library.
Fix
Use a lock to ensure only one thread opens a microphone at a time.
The text was updated successfully, but these errors were encountered: