• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sound Manager callback routine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Sound Manager callback routine (From: <email@hidden>)

  • Prev by Date: Re: Sound Manager callback routine
  • Next by Date: Re: Stuck MIDI notes
  • Previous by thread: Re: Sound Manager callback routine
  • Next by thread: Problems with AppleMIDISerialDriver.plugin
  • Index(es):
    • Date
    • Thread