• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: kAudioUnitParameterFlag_CFNameRelease Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >kAudioUnitParameterFlag_CFNameRelease Question (From: Jeremy Sagan <email@hidden>)

  • Prev by Date: Re: mapping a CoreAudio device to a USB device
  • Next by Date: CoreAudio Sessions at WWDC '06
  • Previous by thread: kAudioUnitParameterFlag_CFNameRelease Question
  • Next by thread: CoreAudio Sessions at WWDC '06
  • Index(es):
    • Date
    • Thread