Hi
I cannot find any information about the thread-safety of the waveOut API.
After i creating new waveOut handle, i have those threads:
Thread 1: Buffers handling. Uses those API functions:
- waveOutPrepareHeader
- waveOutWrite
- waveOutUnprepareHeader
Thread 2: Gui, Controller thread. Uses those API functions:
- waveOutPause
- waveOutRestart
- waveOutReset
- waveOutBreakLoop
Those two threads are running while using concurrently the same waveOut handle. In my tests, i didn't saw any problem with the functionality, but it doesn't mean that it safe.
Is this architecture thread-safe? Is there any documentation about the thread safety of the waveOut API? Any other suggestions about the waveOut API thread-safety?
thanks.