• 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: recording to aac
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: recording to aac


  • Subject: Re: recording to aac
  • From: David Duncan <email@hidden>
  • Date: Thu, 23 Mar 2006 10:30:32 -0500

On Mar 23, 2006, at 08:08 AM, Nadas Peter wrote:

err = ExtAudioFileSetProperty (recordingFileRef,kExtAudioFileProperty_ClientDataFormat,sizeof (AudioStreamBasicDescription),&outdesc);

From ExtendedAudioFile.h:
@constant kExtAudioFileProperty_ClientDataFormat
An AudioStreamBasicDescription. The format must be linear PCM (kAudioFormatLinearPCM). You must set this in order to encode or decode a non-PCM file data format. You may set this on PCM files to specify the data format used in your calls to read/write.


The ASBD you gave to ExtAudioFileCreateNew() should do what you want from the documentation that I'm reading. The Client format sounds like the type of data *you* are providing (which I'm 99.99% certain is going to be linear pcm, not aac audio).
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.


David Duncan

_______________________________________________
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: 
 >recording to aac (From: Nadas Peter <email@hidden>)

  • Prev by Date: Re: AU val on Intel Mac
  • Next by Date: RE: AU val on Intel Mac
  • Previous by thread: recording to aac
  • Next by thread: Re: recording to aac
  • Index(es):
    • Date
    • Thread