## Msfilter

### SUMMARY

This sample – like the samples for Msgsm610 and Imaadpcm – illustrates how to implement an Audio Compression Manager (ACM) software codec. The Msfilter sample provides routines for volume and echo effects that can be applied to any audio content.

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 OnNow. These features are not applicable to ACM software codecs.

### BUILDING THE SAMPLE

To build the sample, run the build command in the Msfilter sample directory. If the build succeeds, it produces the file Msfltr32.acm.

### CODE TOUR

#### File Manifest

    File           Description

    codec.c        ACM driver interfaces

    codec.h        Header file for codec.c

    codec.ico      Custom icon for this codec

    codec.rc       String and dialog resources

    codec.rcv      Version resource

    debug.c        Debug utilities

    debug.h        Header file for debug.c

    init.c         Driver initialization routines

    msfilter.c     The filter algorithm

    msfilter.h     Header file for msfilter.c

    msfilter.def   Module definition file for linker

    oemsetup.inf   Sample installation file for the driver

Top of page

© 2004 Microsoft Corporation