WineAudio

More up to date information can be found at Sound

Audio

Win32 has several overlapping audio systems.

  • winmm.dll provides the classic audio calls like PlaySound, and in wine, handles loading the appropriate backend driver (e.g. winealsa.drv)

  • mmdevapi.dll provides some of the Vista style "Core Audio" calls
  • dsound.dll provides another audio API used by many DirectX games
  • xaudio2.dll is the Vista-era replacement for DirectSound (not yet implemented in wine)

This block diagram describes Windows XP, Vista/Win7, and wine-1.1.34's sound support, along with two proposals for how to restructure Wine's audio support for the future. The two alternatives were to base it on OpenAL, or to base it on Vista's core audio component WASAPI.

Maarten Lankhorst is currently proceeding with the OpenAL route as an experiment. The jury is still out on whether this is the right way to go for the future.

Links

WineAudio (last edited 2011-08-23 21:11:45 by AndrewEikum)