Does AudioUnitRemovePropertyListenerWithUserData wait for all callbacks?
Does AudioUnitRemovePropertyListenerWithUserData wait for all callbacks?
- Subject: Does AudioUnitRemovePropertyListenerWithUserData wait for all callbacks?
- From: Ilya Konstantinov <email@hidden>
- Date: Sat, 28 Feb 2015 16:46:13 +0200
Does AudioUnitRemovePropertyListenerWithUserData wait for all ongoing callbacks to finish? The docs don't specify this.
My rationale should be obvious:
my_context *m_ctx;
void setup() {
m_ctx = new my_context;
AudioUnitAddPropertyListener(..., m_ctx);
}
void destroy() {
AudioUnitRemovePropertyListenerWithUserData(..., m_ctx);
delete m_ctx; // <-- is this safe?
}
_______________________________________________
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