Skip to content

Commit

Permalink
[AE] Always fall back to DirectSound for win32
Browse files Browse the repository at this point in the history
  • Loading branch information
DDDamian committed May 11, 2012
1 parent 8153505 commit 269fdc8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions xbmc/cores/AudioEngine/AESinkFactory.cpp
Expand Up @@ -100,11 +100,10 @@ IAESink *CAESinkFactory::Create(std::string &device, AEAudioFormat &desiredForma

#if defined(TARGET_WINDOWS)

if ((driver.empty() && g_sysinfo.IsVistaOrHigher() || driver == "WASAPI") && !g_advancedSettings.m_audioForceDirectSound)
if ((driver.empty() && g_sysinfo.IsVistaOrHigher() || driver == "WASAPI") && !g_advancedSettings.m_audioForceDirectSound)
TRY_SINK(WASAPI)

if (driver.empty() || driver == "DIRECTSOUND")
TRY_SINK(DirectSound)
else
TRY_SINK(DirectSound) /* Always fall back to DirectSound */

#elif defined(TARGET_LINUX) || defined(TARGET_FREEBSD)

Expand Down

0 comments on commit 269fdc8

Please sign in to comment.