[vorbis-dev] Re: De-encoding DLL?
Dimitry Andric
dim at xs4all.nl
Sat Jun 24 16:52:43 PDT 2000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2000-06-24 at 15:14 John Zitterkopf wrote:
>I'm interested in your work. Please post the VC6++ file somewhere
>(or mail it to me.)
I've put up VC6 project files at
<http://andric.com/vorbis/vorbisdll_prj.zip>, some example binaries
are at <http://andric.com/vorbis/vorbisdll_bin.zip>.
To compile, unzip the project files in a directory parallel to a CVS
checkout of vorbis. If you test the WinAmp plugin, don't put the
vorbis.dll file in the WinAmp plugins directory, but in your Windows
system directory, or it will confuse WinAmp.
>I can read/write C... I do it during my "real day job". But Zittware
>is my night hobby/business and use Delphi for rapid application
>development.
If you create any interface files for Delphi, please put them up
somewhere also, I already know some Delphi developers that might be
interested in Vorbis. :) But getting such a DLL to work in Delphi (or
any language other than C/C++) is going to be interesting... It is
not so hard to translate the function prototypes, but the structs and
tables might be more challenging.
Especially since a lot of stuff comes from the
include/vorbis/book/*.vqh files, which are header files, but really
contain mostly static data. Such data should ideally be moved into .c
files, so that they end up in the shared library; as it is now, every
encoder app will get these tables into the executable file, which
takes up quite a lot of space. For example, with VC6 I get:
chaining_example.exe 3584 bytes
decoder_example.exe 5120 bytes
encoder_example.exe 307712 bytes
vorbis.dll 79360 bytes
winamp.dll 8192 bytes
As you see, the vorbis DLL itself is not very large, the chaining,
decoder, encoder examples and the winamp plugin are pretty minimal,
but the encoder is >300k, due to the included tables.
Cheers,
- --
Dimitry Andric <dimitry at andric.com>
PGP key: http://andric.com/dim.asc
KeyID: 4096/1024-0x2E2096A3
Fingerprint: 7AB4 62D2 CE35 FC6D 4239 4FCD B05E A30A 2E20 96A3
-----BEGIN PGP SIGNATURE-----
Version: Encrypted with PGP Plugin for Calypso
Comment: http://www.gn.apc.org/duncan/stoa_cover.htm
iQA/AwUBOVU7u7BeowouIJajEQJjygCgm0+QvHCYERCIZTjWAXY4rLCz4KYAoNTk
I1HKIBfLoA+FEVf4rbEz1p0i
=umiJ
-----END PGP SIGNATURE-----
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
More information about the Vorbis-dev
mailing list