Hello,

I'm working on the MMPlayer mobile media player for palm
(http://mmplayer.com/).
I'm currently implementing a precise synchronisation mechanism for audio and
video streams.

I have a technical problem I currently can't solve:

The main thread of the media player decodes video. In this thread, I have a
critical section that lasts a couple of milliseconds and I don't want the
PalmOS sample sound audio callback to be called while the main thread is in
this critical section.

Is it possible to disable the audiocallbacks and then reenable them later in
some way?
I'm thinking it's possible to do this at the low-level by disabling traps
before the critical code section and then reenabling them later.

Does anyone have more information if it's possible to do this?

David



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to