Hello:
I am trying to play a large file from the disk with the double buffer
techniques in OSX. The old OS9 method does not work and I cannot get the
callback function to work.
Any Ideas?
Thanks
Henry
David Scrève - 23 Dec 2003 17:49 GMT
Le 23/12/03 16:56, dans bs9orc$8t0$1@daisy.noc.ucla.edu, « henry tehrani »
<tehrani@ucla.edy> a écrit :
> Hello:
> I am trying to play a large file from the disk with the double buffer
> techniques in OSX. The old OS9 method does not work and I cannot get the
> callback function to work.
> Any Ideas?
CoreAudio and AudioUnit. Works fine.
David
--
David Scrève -- "La pile Wonder ne s'use que si l'on s'en sert."
patrox - 25 Dec 2003 15:50 GMT
> I am trying to play a large file from the disk with the double buffer
> techniques in OSX. The old OS9 method does not work and I cannot get the
> callback function to work.
> Any Ideas?
Hello
the good old way works just fine ( i use it in ptk :
http://ptk.phelios.com ),
You need to register the callbacks via
NewSndCallBackUPP
and free it via
DisposeSndCallBackUPP
http://developer.apple.com/documentation/QuickTime/RM/LegacyAPIs/SoundManager3.3
/index.html
pat.