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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com
This email sent to [email protected]