Re: Sound Manager callback routine
Re: Sound Manager callback routine
- Subject: Re: Sound Manager callback routine
- From: Baron <email@hidden>
- Date: Thu, 31 Oct 2002 11:08:05 -0800
>
Hi Guys,
>
Is there a way to update a sound channels callback routine, with out
>
destroying the channel and re-creating it. (Sound Manager API), as there
>
could be commands in the sound channel's queue.
Nope, the only time the channel is told about the callBack is when the
channel is created.
>
>
Ideally I would like to create the channel with one callback routine,
>
send some commands (buffer and callback) and then change the callback
>
routine and send some more commands, to the queue could have a few callback
>
commands going to different callbacks.
>
>
I know that I could use a state variables, but I am trying to keep the
>
code in the call back code as leak as I can, to keep over heads low.
You'll have to go this way if you want different code being run when you
callBack is called. Sorry.....
Bob Aron
--
CoreAudio Team
Apple Computer Inc.
(408) 974-1221
>
>
Thanks in advance
>
Mark.
>
_______________________________________________
>
coreaudio-api mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.