> I discovered today that in the most recent OS5 SDK (DR2) there is
> an additional routine.. SndCreateStreamExtended, with a variable sized
> buffer callback. In theory that should let me specify how much data is
> available, and thus manage the callback rate, which should work. We'll 
> see if it works out this way.

we use audio Streams in our Lemmings port - and, we have not had any
problems at all with playing back audio/sfx. the 'yippee' sound can
happen quite quickly in succession - but, we have notice no major issues. 
maybe max this is being called 15-30 times a second tho.

you may want to re-think your audio callback mechanism. is it really
required to call an audio playback 150 times a second? that'll make
your buffer really small - and, the overhead for the system calls 
will take longer than the sound you want to play :)

---
Aaron Ardiri                        [EMAIL PROTECTED]
CEO - CTO                                           +46 70 656 1143
Mobile Wizardry                      http://www.mobilewizardry.com/


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

Reply via email to