Re: Recording compressed audio file
Re: Recording compressed audio file
- Subject: Re: Recording compressed audio file
- From: Jens Alfke <email@hidden>
- Date: Fri, 6 Mar 2009 15:18:29 -0800
On Mar 5, 2009, at 9:58 PM, rethish wrote: We can record using Linear PCM , appleIMA4 and applelossless formats . We also need to record in AAC format. In the documentation We found that MPEG-4 Audio Object Type Constants are deprecated in MAC OS X 10.5
I don't know what those constants are, but the relevant ones for encoding audio into AAC are kAudioFileM4AType kAudioFormatMPEG4AAC (Yes, you need both: one to specify the file type, the other to specify the data format.)
These are declared in the very same header file as the types you quoted in your email (kAudioFormatLinearPCM, etc.)
—Jens |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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