[Tremor] cleanly modifying vorbis-tools to use tremor
Jolan Luff
jolan at protection.cx
Wed Jun 1 23:00:22 PDT 2005
hi,
i'm running openbsd on my zaurus c3000 (http://www.openbsd.org/zaurus.html
for more information). i used the patches from:
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/audio/tremor-tools/patches/
to convert ogg123 from vorbis-tools 1.0 to use tremor. i tried 1.0.1
but the build infrastructure had changed dramatically and i was having
problems converting the above patches. when i run "igg123" ld.so
complains about a size mismatch, probably because of finding the same
symbol in both libvorbisidec and libvorbis and the object files only
store their size and the size is not the same.
is there any way to make the idec decoder ABI compatible with the normal
decoder? i see that ov_read takes different arguments and ov_time_seek
is int64 in tremor as opposed to a double with regular vorbis. is it
not advantageous to merge tremor into libvorbis proper and implement
some flavor selection at the decoder level? i can see how tremor being
separate may be helpful for embedded audio hardware developers, but
there are going to more multi-functional arm based devices which require
an integer only decoder in order to play oggs in realtime.
i just feel like what i've done is a bit of a sloppy hack, so some
direction and how to clean it up would be greatly appreciated.
thanks,
- jolan
More information about the Tremor
mailing list