Re: recording to aac
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