Audio data format and file type - how to match?
Audio data format and file type - how to match?
- Subject: Audio data format and file type - how to match?
- From: "tahome izwah" <email@hidden>
- Date: Fri, 21 Jul 2006 08:13:25 +0200
Hi all,
I have a question about the four char codes describing the audio data
format and the actual file types of the files that can hold such
data... is there any call that tells me from such a four char code
what the right file type(s) should/can be?
For instance, if I let the user select from a list of encoding options
in a save-as dialog box and he selects "MPEG-4 AAC" (corresponding to
the four char code kAudioFormatMPEG4AAC in an
AudioStreamBasicDescription that I set up), how do I know what file
type I have to pass to ExtAudioFileCreateNew() to create the correct
audio file (in this case kAudioFileM4AType)?
To be future-proof, I'd not like to go through all the available file
types manually so I guess there must be an option/call that I can
use...?
Thanks!
--th
_______________________________________________
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