Okay, here's my first hack attempt at an xmms module. I managed to link (although not test) this with the current libvorbis CVS source (which needed some "help" compiling) and xmms 0.9.5.1. I'm guessing I made some fairly obvious mistakes in here which can be hammered out even without bitstreams to test it on. Tony Arcieri <HR NOSHADE> <UL> <LI>TEXT/x-csrc attachment: vorbis.c </UL> -------------- next part -------------- A non-text attachment was scrubbed... Name: vorbis.c Type: application/octet-stream Size: 5743 bytes Desc: not available Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/19991006/b199d925/vorbis.obj
> Okay, here's my first hack attempt at an xmms module.I've only glanced over the code; I'll need to fine-comb through it but it looks basically solid.> I managed to link > (although not test) this with the current libvorbis CVS source (which > needed some "help" compiling) and xmms 0.9.5.1.What problems were there compiling? I try not to check in broken source, although I might have screwed up.> I'm guessing I made some fairly obvious mistakes in here which can be > hammered out even without bitstreams to test it on.Yup, I'll have a report on that soon. You'll have real bitstream ability to test with soon tho. BTW, I realize this is a first cut, but I assume that many of those NULL xmms fields would have to do with streaming/seeking/scrubbing etc. You can seek to random parts of a Vorbis stream; chaining is the only caveat, but that affects normal playback too (and the example programs don't deal with it at all). This is the last thing I need to add to the examples in CVS. Monty --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/
Tony, It looks like the nameservers for your domain are out, so I can't send mail (the server can't map your hostname). Hopefully you'll see this in the archive as I obviously can't write to you to tell you :-) In case this helps: bloopfish% host -a gjhsnews.mesa.k12.co.us gjhsnews.mesa.k12.co.us NS ns1.gjhsnews.mesa.k12.co.us bloopfish% host -a ns1.gjhsnews.mesa.k12.co.us ns1.gjhsnews.mesa.k12.co.us A 205.169.77.26 bloopfish% host -a gjhsnews.mesa.k12.co.us ns1.gjhsnews.mesa.k12.co.us Nameserver ns1.gjhsnews.mesa.k12.co.us not responding gjhsnews.mesa.k12.co.us ANY record not found at ns1.gjhsnews.mesa.k12.co.us, try again Monty --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/
As far as I can tell, the xmms module should be working. I've provided a simple Makefile to build it, at which point it can be copied into the xmms Input module directory. I ran xmms with the module loaded, and it appeared to successfully identify all the songs I tested it with as not being Vorbis... I suppose that's as good a sign as I'm going to get right now. Seeking will not work yet. I'll have to copy some example source on the subject. But first I will have to figure out how to tell how long a particular song is or seeking will not work anyway. That said, playing, stopping, and pausing should all work. It should also display the proper time played as well. Tony Arcieri --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/
Whoops, there's a small segving problem with the xmms module. I fixed it; the changes will appear as soon as I submit it to the CVS. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/