Re: AudioFileClose() crashing on iOS after playback
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