Thanks to both replies... ...yes, it looks like the choice remains "async and a prayer" or digging-into sound streams (which I suppose is the correct way anyways).
Thanks guys! gary douglas nth gen --- Ben Combee <[EMAIL PROTECTED]> wrote: > At 09:45 AM 12/10/2004, you wrote: > >By the way, if there IS a correct way to use > SndPlayResource > >with sndFlagAsync, I'd love to know about it. > > Have your application be stored in ROM, so its data > won't move or be > invalidated, even if unlocked :) > > Looking at the OS code, there's no way to detect if > the sound is > complete. SndPlayResource just either starts up a > new thread for the sound > playback or it calls the playback routine itself in > the current > thread. Either way, there's no mechanism to detect > when it's done. The > hardware calls to determine if there are active > sound streams isn't exposed > to application developers. > > -- Ben Combee, Technical Lead, Developer Services, > PalmSource, Inc. > "Combee on Palm OS" weblog: > http://palmos.combee.net/ > Developer Forum Archives: > http://news.palmos.com/read/all_forums/ > > > -- > For information on using the Palm Developer Forums, > or to unsubscribe, please see > http://www.palmos.com/dev/support/forums/ > ===== Gary Douglas, CISSP Unhacker and artist [EMAIL PROTECTED] Void where prohibited. Foreign currency not accepted. Celebrity voices impersonated. Artist's conception. Serving suggestion. Lost ticket pays maximum rate. Not an exit. Cut along dotted line. Not a meat product. If rash develops, discontinue use. Insert quarter to continue. Do not eat. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
