[vorbis-dev] Ports

Brian Havard brianh at kheldar.apana.org.au
Sun Dec 24 03:42:18 PST 2000

On Sun, 24 Dec 2000 20:24:39, Michael Smith wrote:

>>No problem. BTW, do you guys ever give out CVS commit rights?
>Monty handles stuff like that. Generally, people who have shown themselves to be sensible and helpful get offered cvs access at some point.

Cool, that seems to be pretty standard practice (except for PHP who let
almost anyone in).

>>>I've moved some stuff around, so let me know if it actually works. Everything should be there apart from the lower_priority() stuff, since that's not sensible to have there.
>>So far so good. What didn't you like about lower_priority()? I like to run
>>things like oggenc at idle priority. Of course it would be better if it was
>>optional which I can do if that's what you're concerned about.
>It's something that belongs externally to the program. (i.e. 'nice', or the equivalent on non-unix systems). You're welcome to have it in your own copy, but it isn't going into CVS. 

The problem with that idea is that some systems (including OS/2 & I believe
Win9x/NT) have no equivalent of 'nice', at least not standard (not all the
world is unix). 

>>I've got more now including an OS/2 ao plugin & a dl -> OS/2 API shim to
>>load it, making ogg123 work. I'll get it cleaned up & post it.
>That'd be good. Is there a good/well designed library for cross-platform dynamic loading, so we could just use that instead of a heap of platform-specific implementations? 

The only one I know of (because I've been involved in its development) is
APR (see http://apr.apache.org/ ), an offshoot of the Apache Server

It's not that big a deal though, I've attached the dl for OS/2 code I wrote
just to show how simple it is. I could write one for Win32 just as easily.

>>BTW, is http streaming in ogg123 supposed to work?
>Yes. I don't know if it does, though. It requires a high-speed connection, since it doesn't do anything nice like proper buffering, and it's quite likely to not work on non-unix systems. I haven't tested it in a long time, though, so it might not work any more.

Ok, probably not worth worrying about for now. I tried it using an Apache
server running on the same machine & just got the "input not an Ogg Vorbis
audio stream" error.

 |  Brian Havard                 |  "He is not the messiah!                   |
 |  brianh at kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |

<LI>application/octet-stream attachment: dl_os2.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dl_os2.c
Type: application/octet-stream
Size: 1016 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20001224/69742113/dl_os2.obj

More information about the Vorbis-dev mailing list