• 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
Core Audio and Xiph Vorbis
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Audio and Xiph Vorbis


  • Subject: Core Audio and Xiph Vorbis
  • From: Duncan Bushell <email@hidden>
  • Date: Thu, 17 Feb 2011 12:09:16 +0000

I'm trying to get 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


Duncan Bushell
Mobile  +44 (0) 771 340 3352
iChat  email@hidden



 _______________________________________________
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

  • Prev by Date: Re: Converting an AUGraph to offline mode
  • Next by Date: Re: Bluetooth IO problems (aurioTouch sample app)
  • Previous by thread: Re: Converting an AUGraph to offline mode
  • Next by thread: route changes/plug-unplug headphones
  • Index(es):
    • Date
    • Thread