Re: kAudioUnitParameterFlag_CFNameRelease Question
Re: kAudioUnitParameterFlag_CFNameRelease Question
- Subject: Re: kAudioUnitParameterFlag_CFNameRelease Question
- From: William Stewart <email@hidden>
- Date: Mon, 7 Aug 2006 14:20:26 -0700
On 07/08/2006, at 1:16 PM, Jeremy Sagan wrote:
I recently noticed that I was not honoring
kAudioUnitParameterFlag_CFNameRelease correctly.
For automation, I need to get a bunch of information on parameters
from my real-time thread and have been successfully calling
AudioUnitGetProperty with kAudioUnitProperty_ParameterInfo to do
so. Now, I notice that in order to not leak memory, I need to call
CFRelease to release the parameter infos CFStringRef(s). Is this
safe/recommended to do from a real-time thread?
No - you shouldn't be doing any memory alloc/release operations on
high priority threads.
Bill
Jeremy Sagan
Sagan Technology
www.sagantech.biz
_______________________________________________
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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