From: Vincent Spader <vince@vs...> - 2008-03-06 00:08:24
Matthew Leon Grinshpun wrote:
> Have you ever considered having cog use the new Audio Queue Services
> and then rewriting some of the Cog plug-in code as OS X audio
> codecs? http://developer.apple.com/documentation/MusicAudio/Conceptual/AudioQueueProgrammingGuide/Introduction/chapter_1_section_1.html#//apple_ref/doc/uid/TP40005343-CH1-SW1
I don't want the Cog plugins to be CoreAudio codecs. I'd rather there be
a Cocoa API for such things. It will make life easier for the plugin
developers. I've already written a CoreAudio plugin that uses AudioFile,
so you get all those codecs anyways. Also, the built-in codecs aren't
always that great. I wrestled with streaming and the mp3 decoder for a
while, and ended up giving up and making my own with MAD.
AudioQueue is really only useful for the output node, and all that needs
to do is get the data to the device, which it already does.