AUEventListenerNotify() -- object param not forwarded?
AUEventListenerNotify() -- object param not forwarded?
- Subject: AUEventListenerNotify() -- object param not forwarded?
- From: Stephen Davis <email@hidden>
- Date: Tue, 26 Jun 2007 10:19:01 -0700
I'm calling AUEventListenerNotify( nil, myObject, &myEvent ) and the
listener's callback is getting called but the incoming "object"
argument is nil. The AudioUnitUtilities.h is rather terse about what
this parameter is for but it seemed pretty obvious -- too bad it
doesn't do what I expected.
Also, the AUEventListenerAddEventType() function also has an "object"
argument so I tried setting that to the object that was going to be
sending the events (which is not what I want since I have more than
one of them and I wanted to use the same callback and select the
right one via that function's object argument) but that didn't change
anything.
Are the object arguments totally ignored?
thanks,
stephen
_______________________________________________
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