I cannot find any thread safety information for the waveOut API.
After creating a new waveOut descriptor, I have these threads:
Topic 1: Buffer Processing. Uses these API functions:
- waveOutPrepareHeader
- waveOutWrite
- waveOutUnprepareHeader
Topic 2: Gui, Controller thread. Uses these API functions:
- waveOutPause
- waveOutRestart
- waveOutReset
- waveOutBreakLoop
These two threads work while using the same waveOut descriptor. In my tests, I did not see any problems with functionality, but this does not mean that it is safe.
Is this architecture thread safe? Is there any thread safety documentation for the waveOut API? Any other suggestions for waveOut API thread safety?
thank.