Previous Next

User-Mode WDM Audio Components

The user-mode WDM audio components are:

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 Platform 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 Platform 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.

DirectMusic System Component

The DirectMusic® system component (dmusic.dll) supports the DirectMusic API (see Platform 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).