Re: use of transportStateProc crashes some plug-ins
Re: use of transportStateProc crashes some plug-ins
- Subject: Re: use of transportStateProc crashes some plug-ins
- From: Jeremy Sagan <email@hidden>
- Date: Mon, 10 May 2004 21:31:22 -0400
seb_plogue ,
I have also recently incorporated the transportStateProc in Metro and I
do not know of a single plug-in that crashes because of it. Perhaps you
are not implementing the kAudioUnitProperty_HostCallbacks correctly.
Since the size of the kAudioUnitProperty_HostCallbacks structure is
queried from the plug-in there should be no difference for older
audiounits since the host will not fill in the the hostinfo->
transportStateProc field. Only if the size of
kAudioUnitProperty_HostCallbacks is > offsetof(TempHostCallbackInfo,
transportStateProc) should this field be filled in by the host. At
least this is my understanding of how it should work.
Jeremy
On May 10, 2004, at 4:52 PM, seb_plogue wrote:
Hi,
I've recently incorporated the transportStateProc
and updated HostCallbackInfo struct in my AU hosting.
Problem is, if I use that some plug-ins start crashing
upon the first call to MusicDeviceMIDIEvent, if I revert
to the old HostCallbackInfo every thing work as expected.
I guess I'm only posting this as a warning to others
as I don't see what can be done.
No one wants to create plug-ins that use the transportStateProc
before Logic gets fixed/updated and I guess i'll be pointed
as the culprit if I put it in Bidule and it crashes on
people, eeek, nice situation....
_______________________________________________
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.