[vorbis-dev] Win32 DLL

John Selbie jselbie at hotmail.com
Tue Jun 20 21:02:12 PDT 2000



Dimitry,

I'd be delighted to help with your ACM driver effort.  An ACM DLL would 
simply need to link with vorbislib.  Then the DriverProc messages would 
simply forward the work to the right functions.  (e.g. ACMDM_STREAM_CONVERT 
message simply call vorbis_xxx routines for decoding).  Most of the other 
ACM messagaes are just "details" structs for returning information 
describing the codec.  Decoding should be easy, encoding would require you 
to make some simple decision on how to do the framing (if any).

Probably just following the example code in the "encoder_example.c" and 
"decoder_example.c" app is all that's needed for getting started.  (And of 
course, reading other docs!)  Somewhere in the old NT4/Win95 DDK is sample 
code for the ADPCM ACM driver.

As for DShow, it's a complicated beast.  But the latest DShow docs provide 
C++ templates for simple file source and transform filters.  Everything else 
is just overhead and registry keys.

I'll start taking a look at DShow as a side project.  The end goal being to 
have WMP play OGG files.  My time is limited as well.  If I did get 
something working, how do I go about submitting it to be included in the 
source distribution ?

jSelbie

>From: "Dimitry Andric" <dimitry at andric.com>
>Reply-To: vorbis-dev at xiph.org
>To: "John Selbie" <jselbie at hotmail.com>
>CC: vorbis-dev at xiph.org
>Subject: Re: [vorbis-dev] Win32 DLL
>Date: Tue, 20 Jun 2000 22:36:34 +0200
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On 2000-06-20 at 13:23 John Selbie wrote:
>
> >On a related note.  Is there any interest in development of a Win32
> >ACM  (Audio Compression Manager) DLL or DirectShow filter for the
> >Vorbis codec?   The work consists of compiling the code as a DLL and
> >exposing a DriverProc  function (ACM) or a set of COM interfaces
> >(DShow).
> >
> >DShow filters (.ax files) plug into Windows Media Player and other
> >apps.   While the filter code interface is somewhat complex, DShow
> >client apps such  as WMP can integrate new file formats very easily
> >with the addition of a new  filter dll.
> >
> >ACM DLLs expose a simpler interface, usually suitable for frame
> >based  codecs, and are used in numerous apps that use audio
> >compression.
> >
> >I'd be interested in signing up to do this work.  Any interest here?
> >
>
>Sure, Florian Bruckner <h9651030 at miraculix.wu-wien.ac.at> and I
><dimitry at andric.com> have already started building a ACM codec. It is
>far from finished, however, only the framework is in place. No
>decoding or encoding is done at the moment, we're still figuring out
>how to do that. :) Reading the libvorbis docs will surely help, but
>I'm a little short on time at the moment...
>
>Also, I have no experience with DirectShow filters, but this would be
>a good thing to make. If you have any knowledge of this, you might
>want to start a project for it. As far as I know, there hasn't been
>such a project set up by anyone. Anyone?
>
>The current source for the ACM codec has been put at SourceForge, you
>should be be able to check it out anonymously with
>
>cvs -z3
>- -d:pserver:anonymous at cvs.vorbisACM.sourceforge.net:/cvsroot/vorbisACM
>co oggACM
>
>There's also a web page, but there's not much to see there. If you
>have any comments or suggestions for the ACM codec, please mail them
>to <vorbisacm-developer at lists.sourceforge.net>. If you mail either
>Florian or me privately, it won't be archived in a central place...
>
>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/AwUBOU/HwrBeowouIJajEQKjfACgyOth5CypkveXr8I1zx6N7kjoyc4An23F
>99XEul7nsaC+UFhGY0E+9uYW
>=3YbY
>-----END PGP SIGNATURE-----
>
>
>
>--- >8 ----
>List archives:  http://www.xiph.org/archives/
>Ogg project homepage: http://www.xiph.org/ogg/

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list