Getting audiofile to recognize third-party codecs
Getting audiofile to recognize third-party codecs
- Subject: Getting audiofile to recognize third-party codecs
- From: "Matthew Leon Grinshpun" <email@hidden>
- Date: Sun, 23 Mar 2008 00:12:46 +0100
Greetings,
I'm new to this list, but I've been trawling through documentation and relentlessly searching Google for a solution to this problem and have had little luck. Basically, it seems that the audiofile.h functions are not recognizing third-party codecs. In particular, I am trying to get Audio Queues to work with Ogg Vorbis files using the XiphQT component available here:
http://xiph.org/quicktime/
The first red flag is that running AudioFileGetGlobalInfo(kAudioFileGlobalInfo_AllExtensions, etc...) gives me a long list of supported file extensions, with no .ogg in sight. This is important, as I am using the extensions from this array for Cocoa's Open Panel.
More importantly, however, attempting to run AudioFileOpenURL on an Ogg Vorbis file will give me back a file type unsupported error. Clearly, the component is not registering itself with the AudioFile API.
There are two possibilities here:
1) The XiphQT component is not doing what needs to be done on its end to register with the API. In this case, could someone point me to documentation on what must be done to get it working with AudioFile? This post mentions the possibility of writing an 'afil' component:
http://lists.apple.com/archives/coreaudio-api/2005/Sep/msg00086.html
2) AudioFile itself needs to somehow be coerced to work with third-party codecs. Again, I'm having trouble finding documentation for this.
And just to get other possibilities out of the way, the component does show up in FiendishThngs, and it is working in iTunes.
Thanks in advance for any help,
Matthew
_______________________________________________
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