Hello David,
thanks for your reply.
I have tried the following two:
a)
{MAIN_TASK, MainTask, 1000, 11, "main", MQX_AUTO_START_TASK},
{AUDIO_TASK, AudioTask, 3000, 11, "audio", MQX_AUTO_START_TASK|MQX_TIME_SLICE_TASK},
b)
{MAIN_TASK, MainTask, 1000, 11, "main", MQX_AUTO_START_TASK|MQX_TIME_SLICE_TASK},
{AUDIO_TASK, AudioTask, 3000, 11, "audio", MQX_AUTO_START_TASK|MQX_TIME_SLICE_TASK},
In both of the cases no audio is ever played, as it seems that the Touching event is not caught from Audio...
it seems the audio task never goes after this:
if ( _event_wait_any(eventPtr, ANY_SOUND, 0) != MQX_OK )
About this:
"or in the AudioTask have a blocking call when it isn't doing work to allow the MainTask a chance to run"
I think this shouldn't work as while one audio is playing (ie audio is doing work) and a key is pressed it wont be noticed (if I understood it correctly).
Finally, please forgive my MQX ignorance:
"or setup the TSS to be in an interrupt routine or also poll the TSS in a FlexTimer interrupt routine."
Would you mind to elaborate these concepts please?
Thanks,
Mik