Creating audio files in iphone
Creating audio files in iphone
- Subject: Creating audio files in iphone
- From: Mahaboob <email@hidden>
- Date: Mon, 09 Feb 2009 12:11:11 +0530
- Thread-topic: Creating audio files in iphone
I'm using a table view to show all the audio files. When I'm selecting one
file among these and click on the record button, the newly recording sound
should be attached to the end of the selected file.
I'm referring the SpeakeHere example of apple.
But in the documentation, I found a method that is also using in my
application:
OSStatus AudioFileCreateWithURL (
CFURLRef inFileRef,
AudioFileTypeID inFileType,
const AudioStreamBasicDescription *inFormat,
UInt32 inFlags,
AudioFileID *outAudioFile);
inFlags:
Relevant flags for creating or opening the file. If
kAudioFileFlags_EraseFile is set, it erases an existing file. If the flag is
not set, the function fails fails if the URL is an existing file.
So is there any way to create audio file without erasing the existing file?
Thanks in advance
mahaboob
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden