[Vorbis-dev] MSVC files include vorbisenc in the vorbis dynamiclibrary

Ralph Giles giles at xiph.org
Thu Sep 23 12:49:11 PDT 2004


On Thu, Sep 23, 2004 at 11:58:00PM +0800, illiminable wrote:

> While i agree it would be good to select if you want encoding support or 
> not... i don't see why the library shouldn't include both the encode and 
> decode functions ? All the other libraries (speex, theora, flac) include 
> both encode and decode... and libogg contains both mux and demux functions.

The thinking here is that, particularly for vorbis, the mode tables for 
the encoder take up a lot of extra space, so it's nice to have the 
option of not including them if one is shipping a playback only 
application. That's why there are three libraries in the *nix build.

All this is balanced against the convenience of having a single dll, of 
course.

Perhaps a compromise would be to maintain two sets of project files, or 
to suggest people interested in decode support use a static library and 
let smart linking take care of the trimming?

 -r


More information about the Vorbis-dev mailing list