Host callbacks to provide tempo not being called
Host callbacks to provide tempo not being called
- Subject: Host callbacks to provide tempo not being called
- From: Eagle Offshore <email@hidden>
- Date: Fri, 05 Aug 2011 12:21:01 -0700
How do I debug this?
I have a host. I'm installing host callbacks into my audio units and getting no errors, but the units never call them and in some cases (Amplitube being one) the unit displays a status that the host is not providing tempo information.
Code:
HostCallbackInfo cb = { _host, HCallback_GetBeatAndTempo, HCallback_GetMusicalTimeLocation, HCallback_GetTransportState }; ComponentResult result = [self setGlobalProperty: kAudioUnitProperty_HostCallbacks element: 0 value: &cb size: sizeof(cb)];
where
-(ComponentResult) setGlobalProperty:(AudioUnitPropertyID)prop element:(UInt32)e value:(void*)v size:(UInt32)size { return [self setProperty:prop scope:kAudioUnitScope_Global element:e value:v size:size]; }
The result code indicates that the call succeeded. Do I have the scope wrong or something? Because the functions specified in the HostCallbackInfo never get called.
Thanks for any hints. -Todd Blanchard |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden