Hi,
I am trying to play .wav files using the WinCE waveOut functions. I do this within one ("audio") thread, and within another ("serial IO") thread, my application needs to send data to com port 2 every 100ms.
The audio files play ok, however, my serial IO send data function is not called within the required time. The serio IO thread is set to CE_THREAD_PRIO_256_HIGHEST, audio thread is CE_THREAD_PRIO_256_NORMAL.
I thought that the threads are managed by WinCE to in effect run in parallel, i.e. run the quantum period of time then go to the next thread, espeically if the other thread is higher prio. Have I understood this correctly?
Is it possible that the waveOut resources are interferring with the other threads or does my problem lie somewhere else?
thanks,
Sarah