User-Mode WDM Audio Components

The user-mode Microsoft Windows Driver Model (WDM) audio components are:

  • WinMM System Component

  • WDMAud System Driver

  • DirectSound System Component

  • DirectMusic System Component

  • Windows Audio Services

WinMM System Component

The WinMM system components (Winmm.dll and its 16-bit counterpart, Mmsystem.dll) implement the Microsoft Windows multimedia APIs waveXxx, midiXxx, mixerXxx, and auxXxx (see Microsoft Windows SDK documentation). The WinMM components use the WDMAud system driver to translate the WinMM API calls into kernel-streaming I/O requests.

WDMAud System Driver

The user-mode WDMAud system driver (Wdmaud.drv) is paired with the kernel-mode WDMAud system driver (Wdmaud.sys). Together, the WDMAud system drivers translate between WinMM API calls and kernel-streaming I/O requests. The kernel-mode mode WDMAud driver is a client of the SysAudio system driver.

DirectSound System Component

The DirectSound system component (Dsound.dll) supports the DirectSound API (see Microsoft Windows SDK documentation). The DirectSound component is a client of the SysAudio driver. If hardware mixing is available, the SysAudio driver connects DirectSound hardware buffers directly to the rendering device. Otherwise, the SysAudio driver connects DirectSound software buffers to the KMixer system driver. For more information, see Rendering Wave Content Using DirectSound Software and Hardware Buffers.

DirectMusic System Component

The DirectMusic system component (DMusic.dll) supports the DirectMusic API (see Microsoft Windows SDK documentation). This component converts calls made to the DirectMusic API into I/O requests to WDM audio devices. The DirectMusic component is a client of the SysAudio system driver.

Windows Audio Services

In Windows XP and later, the Windows Audio Services component (Audiosrv.dll) manages audio devices for Windows-based programs. Stopping Windows Audio Services prevents audio devices and effects from functioning properly. If audio services are disabled, any other services (including WDM audio drivers) that explicitly depend on them will fail to start. In the Home Edition, Professional, and Server versions of Windows XP and later, audio services are by default configured to start automatically. However, in the Advanced Server, Data Center, and Web Server versions of Windows Server 2003 and later, audio services are disabled by default. When audio services are disabled, installing an audio device does not enable them -- audio services are enabled to run automatically only if an administrator explicitly configures them to do so. For information about starting and stopping Windows services, see the help file in the Services dialog box (look in the Windows Control Panel under Administrative Tools).