• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Need guidance on choosing appropriate audio framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need guidance on choosing appropriate audio framework


  • Subject: Re: Need guidance on choosing appropriate audio framework
  • From: chuck remes <email@hidden>
  • Date: Thu, 5 Feb 2004 23:26:13 -0600

On Feb 5, 2004, at 5:19 PM, David Duncan wrote:

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.

Thank you for the clarification.


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.

I'll post a note there asking for some confirmation of this.

So is it true to say that QuickTime is already a client of CoreAudio? If true, this is good news since I'd rather write this thing in C++. The old Sound Manager interface macros looked a bit scary to me ( ComponentSelectorOffset (6), ComponentRangeCount (2), etc.). All of that probably still exists but is hidden by the base class.

cr
_______________________________________________
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.

  • Follow-Ups:
    • Re: Need guidance on choosing appropriate audio framework
      • From: David Duncan <email@hidden>
References: 
 >Need guidance on choosing appropriate audio framework (From: Chuck Remes <email@hidden>)
 >Re: Need guidance on choosing appropriate audio framework (From: David Duncan <email@hidden>)

  • Prev by Date: Re: Need guidance on choosing appropriate audio framework
  • Next by Date: Re: Need guidance on choosing appropriate audio framework
  • Previous by thread: Re: Need guidance on choosing appropriate audio framework
  • Next by thread: Re: Need guidance on choosing appropriate audio framework
  • Index(es):
    • Date
    • Thread