Audacity Audio Hosts: MME vs DirectSound vs WASAPI
When recording or editing audio in Audacity on Windows, you must choose an Audio Host to serve as the interface between the software and your computer's sound card. The three primary options—MME, Windows DirectSound, and Windows WASAPI—differ significantly in age, latency, audio fidelity, and hardware compatibility. While MME prioritizes legacy stability across nearly all hardware, DirectSound offers moderate latency for general use, and WASAPI delivers the lowest latency, modern driver performance, and native internal audio loopback recording.
Understanding Audio Hosts in Audacity
An Audio Host is a driver architecture or API (Application Programming Interface) that handles how audio signals travel between Audacity and your audio interface, microphone, or speakers. Selecting the right host affects recording delay (latency), output quality, and whether you can record audio playing directly from your computer.
1. MME (Microsoft Multimedia Environment)
Introduced with Windows 3.1 in 1991, MME is the oldest audio host available in Audacity.
- How it works: MME relies on legacy Windows multimedia drivers and passes audio through multiple layers of system mixing and processing.
- Latency and Performance: It has the highest latency of the three options, meaning there is a noticeable delay between speaking into a microphone and hearing the sound back. It also typically limits audio processing to 16-bit resolution.
- Best used for: Troubleshooting. MME provides universal compatibility. If newer audio hosts produce errors or fail to recognize your hardware, MME will almost always work.
2. Windows DirectSound
Developed as part of the DirectX API in the late 1990s, DirectSound was engineered primarily for video games and multimedia applications that required faster audio playback than MME could provide.
- How it works: In older versions of Windows (XP and earlier), DirectSound communicated directly with sound card hardware. On Windows Vista and newer, Microsoft emulated DirectSound through the standard Windows audio engine.
- Latency and Performance: DirectSound offers noticeably lower latency than MME. However, because it is now an emulated wrapper in modern Windows installations, it no longer provides true direct hardware access.
- Best used for: General, everyday recording and playback on older systems or where WASAPI is unstable.
3. Windows WASAPI (Windows Audio Session API)
Introduced with Windows Vista, WASAPI is the modern, standard audio architecture for Windows 10 and 11.
- How it works: WASAPI communicates directly with the audio driver. It supports "Exclusive Mode," allowing Audacity to bypass the Windows audio mixer entirely for bit-perfect recording and playback.
- Latency and Performance: It delivers the lowest latency and highest fidelity of the three options natively supported by Audacity without requiring third-party ASIO drivers.
- Special Feature (WASAPI Loopback): WASAPI allows you to record computer playback (such as audio from web browsers, games, or media players) digitally without using external cables or physical "Stereo Mix" hardware drivers. Select the recording device labeled "(loopback)" associated with your speakers or headphones.
- Best used for: Most standard recording tasks on modern PCs, professional microphone use, and capturing internal system audio.
Summary: Which Should You Choose?
- Choose WASAPI for standard microphone recording, low-latency monitoring, and recording internal desktop sound via Loopback on modern Windows systems.
- Choose DirectSound as a reliable secondary option if WASAPI encounters device-sharing conflicts with other open applications.
- Choose MME only as a fallback option when experiencing hardware recognition problems or driver crashes with the other two hosts.