• 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: Creating audio files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating audio files


  • Subject: Re: Creating audio files
  • From: William Stewart <email@hidden>
  • Date: Mon, 9 Feb 2009 10:57:16 -0800

You open an existing file, rather than trying to create a new one. You can open a file for read/write so you should be able to append to it


On Feb 9, 2009, at 2:35 AM, Mahaboob wrote:

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


_______________________________________________ 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

_______________________________________________ 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: 
 >Creating audio files (From: Mahaboob <email@hidden>)

  • Prev by Date: Re: How to configure AudioConverter to write VBR?
  • Next by Date: Re: iPhone feedback problem
  • Previous by thread: Re: Creating audio files
  • Next by thread: Re: Creating audio files
  • Index(es):
    • Date
    • Thread