Windows audio components

From Wikipedia, the free encyclopedia

This article is in regard to the different audio components in Microsoft Windows.

Contents

[edit] Audio Compression Manager

Audio Compression Manager is the Windows Multimedia framework that manages audio codecs (compressor/decompressors). ACM can also be considered an API specification. A codec must conform to the implicit ACM specification to work with Windows Multimedia. ACM files can be recognized by their filename extension .acm .

[edit] KMixer

KMixer is the Kernel Audio Mixer driver, a part of WDM Audio in various version of Microsoft Windows which handles the mixing of multiple sound buffers into an output.

The tasks performed by KMixer.sys:

  • Mixing multiple PCM audio streams
  • Format, bit-depth and sample-rate conversion
  • Speaker configuration and channel mapping

[edit] Controversies

The KMixer was designed to aid the applications by relieving them from the need to perform the mixing of audio streams, especially on low-end sound cards that didn't support multiple sound streams. However, it introduced some significant problems.

First, the latency of KMixer is around 30 ms and it can not be reduced, because this component sits just right above the port class audio driver, so every audio stream, including those issued by DirectSound and WinMM, come through the kernel mixer.

Then, KMixer tried to mix every data format that passed through it, even those which it did not support. It caused various problems with movie players that tried to pass AC3-encoded surround sound streams through S/PDIF output of the sound card to an external home cinema receiver.

A new kernel-mode API, Direct Kernel Streaming, had to be introduced in order to bypass the KMixer and avoid problems associated with it.

[edit] DirectX Sound Libraries

Please refer to DirectSound,DirectSound3D, and DirectMusic

[edit] External links

[edit] See also