mirror of https://github.com/tongzx/nt5src
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.2 KiB
64 lines
2.2 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® Visual C® 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		Description
|
|
</U>
|
|
Codec.c	 ACM driver interfaces
|
|
Codec.h	 header file for Codec.c
|
|
Codec.rc	string and dialog resources
|
|
Codec.rcv	version resource
|
|
Config.c	configuration dialog
|
|
Debug.c	 debug utilities
|
|
Debug.h	 header file for Debug.c
|
|
Imaadpcm.c	the codec algorithm
|
|
Imaadpcm.h	header file for Gsm610.c
|
|
Muldiv32.h	math helper macros
|
|
Imaadpcm.def	module definition file for linker
|
|
Oemsetup.inf	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>© Microsoft Corporation 1999</FONT><FONT
|
|
FACE="Verdana" SIZE=2> </P></FONT></BODY>
|
|
</HTML>
|