Re: HostCallback_GetBeatAndTempo howto?
Re: HostCallback_GetBeatAndTempo howto?
- Subject: Re: HostCallback_GetBeatAndTempo howto?
- From: Marc Poirier <email@hidden>
- Date: Mon, 14 Oct 2002 14:56:20 +0200 (CEST)
Franck. You actually don't have to do anything about setting up the
callback if you derive from AUBase (which you probably do). It is set up
for you automatically (if the host supports it) in
AUBase::DispatchSetProperty. The data is stuffed into the AUBase member
HostCallbackInfo variable called mHostCallbackInfo. All you need to do is
check that mHostCallbackInfo.beatAndTempoProc is not null before using it
and, if it is not, then you can call that function.
Personally I think that this is something that would be good to document
in the SDK. Actually, I think that a more general mention in the SDK of
that fact that Audio Units themselves don't have to worry about hardly any
of the AUProperties, because AUBase handles most of them in
Dispatch*Property, would be very good to mention in the SDK...
Marc
On Mon, 14 Oct 2002, Franck STAUFFER wrote:
>
Hello,
>
>
I'm trying to get tempo informations in my AudioUni codet...but I don't
>
manage to make it work. Could someone explain me the basics steps to
>
achieve that?
>
From what I understand I need to create a callback in my code and then
>
to make it point to the beatAndTempoProc of the host. No luck
>
yet...could someone give me a basic example or step by step
>
instructions?
>
I'm more into pure DSP coding so actually I'm not sure I understand how
>
to implement this..
>
>
Thanks a lot and sorry for those "newbie" questions,
>
>
Franck
_______________________________________________
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.