ExtAudioFileDispose IOS error
ExtAudioFileDispose IOS error
- Subject: ExtAudioFileDispose IOS error
- From: Keith Hamel <email@hidden>
- Date: Sun, 02 Dec 2012 23:57:44 -0800
List:
I have a music notation application and I have written routines to capture score playback and write the audio to disk using the Extended Audio File Services API. Playback is handled by AUSamplers in a fairly complex AUGraph
Everything is working properly on Mac OS-X but in IOS (4.3 through 6.0) the program always hangs at the ExtAudioFileDispose call. The program work properly in the IOS simulator - but not when I actually run it on an iPad. I have done searches online and this seems to be a known bug for which no workaround has been suggested.
I am using:
ExtAudioFileCreateWithURL() - to create the file
ExtAudioFileSetProperty() - to set the stream format
AudioUnitAddRenderNotify() - to connect to my AUGraph output
ExtAudioFileWriteAsync () - in a renderCallback function to write the data
ExtAudioFileDispose() - to close the file
After the program crashes and I re-run it -- I get a console message:
AudioSessionGetProperty posting message to kill mediaserverd
I am wondering if anyone has managed to get ExtAudioFileDispose() calls working on iPad or iPhone or has managed to find a workaround? Alternatively, is there any other way to close the file and delete the audio file without calling this routine?
Thanks, Keith Hamel
_______________________________________________
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