[vorbis-dev] http://www.vorbis.com/download.new.html is down

Michael Smith msmith at labyrinth.net.au
Sun Dec 24 17:48:20 PST 2000



(replying to two messages at once...)

>Can anyone tell me where I can get the source to oggdrop.  There are some
>features I would like to add to it.  Currently the beta 3 site is down and
>that is the only place that I have seen the source to it.  Is someone
>maintaining this project?

oggdrop is in the win32-tools module, in cvs. I would think it's also part of the daily cvs snapshots that you can get from xiph.org, but I'm not sure.
Jack wrote oggdrop, so I guess he's the maintainer.

>In order to distribute a standard windows DLL we need to be sure that any
>app compiled against it can use it correctly.  I've made sure that the
>packing and calling convention are defined for vorbisfile.h.

This is really ugly, windows-specific, and completely unneccesary. Not committed. The calling and packing conventions, being conventions, ARE defined for a given platform. If you choose to change them, it's your responsibility to make sure you can still use other code (i.e. you're putting this 'fix' into the wrong place. It belongs in your code, not in the vorbis code)

The correct way to do this (well, the correct way is to compile the entire project with the same calling conventions. Anything else is silly.) is to use pragmas to turn on/off appropriate things (I'm assuming there's a pragma to tell the compiler to use the standard calling convention).

Then you do:
#pragma turn-off-some-windows-stupidity
#pragma something-else
#include <vorbis/vorbisfile.h>
#pragma turn-stuff-back-to-how-it-was

This is also ugly, but far less than putting all that crap into the header file directly.

Michael

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list