Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

64 lines
2.3 KiB

<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-
1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>Imaadpcm</TITLE>
</HEAD>
<BODY LINK="#0000ff">
<FONT FACE="Verdana" SIZE=5><H2>Imaadpcm</H2>
</FONT><FONT FACE="Verdana" SIZE=2>
<P><span style="color:#FF0000;font-size:10pt;font-family:Arial">[This is preliminary
documentation and subject to change.]</span></P>
<H3>SUMMARY</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
Each of the three samples Msfilter, Msgsm610 and Imaadpcm illustrates an implementation of an Audio Compression Manager
(ACM) software codec.
This sample in particular
contains encode and decode routines for the IMA's ADPCM
format. This format is the same format used in Intel's DVI standard.
Intel has made this algorithm public domain and the IMA has endorsed
this format as a standard for audio compression.
The sample works on both x86 and Alpha platforms. It is 64-bit compliant, but requires the addition of 64-bit
headers before compilation. It builds properly with Microsoft&#174; Visual C&#174; 6.0.
The sample does not support Plug and Play, Power Management, or On Now. These features are not applicable to ACM
software codecs.
<H3>BUILDING THE SAMPLE</H3></FONT><FONT FACE="Verdana"
SIZE=2><P>
Type <b>build</b> in the sample directory. A successful build produces the file Imaadp32.acm.
<H3>CODE TOUR</H3>
<H4>File Manifest</H4>
</FONT><U><PRE>File&#9;&#9;Description
</U>
Codec.c&#9; ACM driver interfaces
Codec.h&#9; header file for Codec.c
Codec.rc&#9;string and dialog resources
Codec.rcv&#9;version resource
Config.c&#9;configuration dialog
Debug.c&#9; debug utilities
Debug.h&#9; header file for Debug.c
Imaadpcm.c&#9;the codec algorithm
Imaadpcm.h&#9;header file for Gsm610.c
Muldiv32.h&#9;math helper macros
Imaadpcm.def&#9;module definition file for linker
Oemsetup.inf&#9;sample installation file for the driver
</FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of
page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
<TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
<TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
<P></TD>
</TR>
</TABLE>
<FONT FACE="MS Sans Serif" SIZE=1><P>&copy; Microsoft Corporation 1999</FONT><FONT
FACE="Verdana" SIZE=2> </P></FONT></BODY>
</HTML>