Re: Need guidance on choosing appropriate audio framework
Re: Need guidance on choosing appropriate audio framework
- Subject: Re: Need guidance on choosing appropriate audio framework
- From: David Duncan <email@hidden>
- Date: Thu, 5 Feb 2004 18:19:54 -0500
On Feb 5, 2004, at 05:11 PM, Chuck Remes wrote:
For iTunes to recognize it (e.g. during a drag & drop operation into
its window), I apparently need to create a MovieExporter and
MovieImporter. There appears to be sufficient sample code to figure
this out (though the docs are... difficult). If anyone has a pointer
to docs on iTunes codec management, please advise.
For FLAC in a not-Quicktime container you need the exporter/importer.
Otherwise you should only need the encoder/decoder.
During my investigations I've looked at creating a 'sdec' via the old
Sound Manager. This would provide the basic functionality for
compressing/decompressing the sound file and would make it available
as a compression format within QuickTime for a sound track.
However, I've been lurking on this list for quite a while and noticed
that CoreAudio will eventually replace Carbon Sound Manager within the
QuickTime framework. Therefore, for the sake of future proofing a new
project, it appears that the right move is to create an AudioCodec and
an AudioConverter in CA. I realize QT doesn't use CA yet, but it
sounds as though that change is somewhat imminent (i.e. before the
year is out). This is a hobby project for me (I normally work on
I/OKit drivers), so there isn't any particular deadline I must adhere
to.
The message that I got at WWDC was that if you create a
kAudioDecoderComponentType/kAudioEncoderComponentType type component to
decode/encode your format, then Quicktime will pick it up automatically
via a bridging mechanism, however this may or may not have made it to
Panther/QT 6.5. You may want to ask about those component types on the
Quicktime-API list.
--
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
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.