Mac OS X Core Audio and XiphQT

Duncan Bushell <[email protected]> Thu, 17 Feb 2011 12:13:12 +0000
Newsgroups gmane.comp.multimedia.ogg.vorbis.general
Message-ID <[email protected]>
I'm trying to get Mac OS X Core Audio working with the XiphQT plugin, to decode and playback an Ogg/Vorbis stream.

From what I've read it looks like the XiphQT plugin, although originally QT, also works with core audio as a codec/converter. I've tried setting it up as an Audio Codec (FindNextComponent, OpenAComponent, AudioCodecInitialize) and as a Audio Converter (AudioConverterNew). In both cases the codec loads fine (so probably is OK to use as a codec/converter) but as soon as I try to start using it I get a crash in vorbis_synthesis_start().

When I load the codec as an Audio Codec the call to AudioCodecInitialize appears to work but if I then get the IsInitialized property that says it is not initialized - so looks like that is my problem, and ties up with the crash in vorbis_synthesis_start(). Looks like vorbis_synthesis_init() has not been called, perhaps.
 
There's sample code out there that suggests people have got this working, so is it just that I'm missing a call to initialize it somewhere?

I can post code and crash dumps, but I suspect my problem is more basic than that.

Meanwhile I'm going to build the XiphQT plugin with trace and see what I can find out that way.

Versions are Mac OS 10.6.6, XiphQT 0.1.9

_______________________________________________
Vorbis mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/vorbis