• 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: AudioFileClose() crashing on iOS after playback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioFileClose() crashing on iOS after playback


  • Subject: Re: AudioFileClose() crashing on iOS after playback
  • From: "Roni Music" <email@hidden>
  • Date: Mon, 4 Oct 2010 08:10:15 +0200



On Sun, Oct 3, 2010 at 12:39 PM, Roni Music <email@hidden> wrote:
No that's not correct, it should not be retained. The audio file id is valid
until you close the file with AudioFileClose().

If that is the case, then Core Audio is not playing by the Core Foundation memory management rules.

Maybe not but the returned AudioFileID is not CF object.
CFGetTypeID() on the returned file id returns 0.
The docs and headers also doesn't talk about any need to retain the file id.
Practically nothing concerning CoreAudio works like that except when you ask about names etc
and it returns a CFString or similar.
I'm not an CoreAudio expert but that's my understanding.


Rolf





--Kyle Sluder

_______________________________________________ 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: 
 >Re: AudioFileClose() crashing on iOS after playback (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: AudioFileClose() crashing on iOS after playback
  • Next by Date: performFormatChange
  • Previous by thread: Re: AudioFileClose() crashing on iOS after playback
  • Next by thread: AU format converter question
  • Index(es):
    • Date
    • Thread