[Vorbis] ov_read, callbacks and 0 bytes read
illiminable
ogg at illiminable.com
Sun Oct 8 02:21:47 PDT 2006
Here's a really minimal decoder, that shows using the low level vorbis
api. I think it's easier to follow than decoder_example. Maybe this will
make it easier to follow.
http://svn.xiph.org/trunk/oggdsf/src/lib/codecs/vorbis/libs/libOOVorbis/VorbisDecoder.cpp
http://svn.xiph.org/trunk/oggdsf/src/lib/codecs/vorbis/libs/libOOVorbis/VorbisDecoder.h
Same for tremor (which is a bit different because it uses libogg2)
http://svn.xiph.org/trunk/oggdsf/src/lib/codecs/vorbis/libs/libOOTremor/TremorDecoder.h
http://svn.xiph.org/trunk/oggdsf/src/lib/codecs/vorbis/libs/libOOTremor/TremorDecoder.cpp
Zen.
Andrew Lentvorski wrote:
> Ralph Giles wrote:
>> At least, that's my guess. A whole lot more than decoder_example.c
>> should have not compiled if you don't have libogg available.
>
> Untangling this code is murder.
>
> vorbis/tremor depends on so many internal details of libogg that I'm
> going nuts trying to untangle the two. In addition, the vorbis and
> tremor codebases have diverged from bug fixes as well as the
> difference in functionality focus.
>
> Does anybody have regression tests for libvorbis/libogg/libtremor?
> Untangling this would be a lot easier if I could run a test against
> each change to ensure that I haven't hosed something.
>
> Thanks,
> -a
> _______________________________________________
> Vorbis mailing list
> Vorbis at xiph.org
> http://lists.xiph.org/mailman/listinfo/vorbis
>
More information about the Vorbis
mailing list