[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vorbis
Subject:    [Vorbis] Mac OS X Core Audio and XiphQT
From:       Duncan Bushell <dunx () me ! com>
Date:       2011-02-17 12:13:12
Message-ID: 47A565B2-0115-4C14-AAE1-80F49AE3AE3A () me ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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


[Attachment #5 (text/html)]

<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; ">I'm trying to get Mac OS X Core Audio \
working with the XiphQT plugin, to decode and playback an Ogg/Vorbis \
stream.<div><br></div><div>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().</div><div><br></div><div>When I load the codec as an Audio \
Codec the call to&nbsp;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&nbsp;vorbis_synthesis_start(). Looks like \
vorbis_synthesis_init() has not been called, \
perhaps.</div><div>&nbsp;</div><div>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?</div><div><br></div><div>I can post code and crash dumps, but I suspect my \
problem is more basic than that.</div><div><br></div><div>Meanwhile I'm going to \
build the XiphQT plugin with trace and see what I can find out that \
way.</div><div><br></div><div>Versions are Mac OS 10.6.6, XiphQT \
0.1.9</div><div><br></div><div><span class="Apple-style-span" style="border-collapse: \
separate; color: rgb(0, 0, 0); font-family: Calibri; font-size: medium; font-style: \
normal; font-variant: normal; font-weight: normal; letter-spacing: normal; \
line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: \
none; white-space: normal; widows: 2; word-spacing: 0px; \
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; \
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px; "><div><span class="Apple-style-span" \
style="font-family: Helvetica; "><div><div><div><font class="Apple-style-span" \
color="#548DD4" face="Calibri, sans-serif" size="3"><span class="Apple-style-span" \
style="font-size: 11px; \
"><i><br></i></span></font></div></div></div></span></div></span><br \
class="Apple-interchange-newline"> </div>
<br></body></html>



_______________________________________________
Vorbis mailing list
Vorbis@xiph.org
http://lists.xiph.org/mailman/listinfo/vorbis


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic