Re: Need a callback on the MusicPlayer
Re: Need a callback on the MusicPlayer
- Subject: Re: Need a callback on the MusicPlayer
- From: Chris Reed <email@hidden>
- Date: Thu, 6 Mar 2003 16:24:49 -0600
Philippe,
Since you can compile an audio unit directly into your host app (and
explicitly register it using the Component Manager), you should be able
to use write a little AU shell that basically gives you the callbacks
you are looking for.
In other words, when the MusicPlayer sends a Note On to your AU, it
would be just like if you had registered a callback for note on events.
-chris
On Thursday, Mar 6, 2003, at 14:45 US/Central, Bill Stewart wrote:
Philippe
OK - I'm stupid - I finally understood what you're asking...
We won't provide a TrackSetDestCallback API in the near future...
However, I think Chris' suggestion is worth pursuing. In the SDK
there's code in the 3DMixer test program that registers a private
component - the UI for either the reverb or the 3DMixer...
I'd suggest your best approach here is to write a custom
"TrackMusicDevice" that can feed its samples into the audio stream
that is part of your processing graph that the sequence is
controlling. I think that would work quite well as the synchronisation
would be taken care of for you by the sequence and its association
with the tracks in your app and the audio data that is generated by
the graph.
_______________________________________________
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.