Permalink
Browse files

linux: disable gui sounds before starting player

  • Loading branch information...
1 parent baefaf9 commit 84075fdab60d660919699f6de6ae15c751cd1e8e @FernetMenta committed with Feb 27, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/Application.cpp
View
@@ -3883,7 +3883,7 @@ bool CApplication::PlayFile(const CFileItem& item, bool bRestart)
// Workaround for bug/quirk in SDL_Mixer on OSX.
// TODO: Remove after GUI Sounds redux
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(_LINUX)
g_audioManager.Enable(false);
#endif
@@ -3947,7 +3947,7 @@ bool CApplication::PlayFile(const CFileItem& item, bool bRestart)
}
#endif
-#if !defined(__APPLE__)
+#if !defined(__APPLE__) && !defined(_LINUX)
g_audioManager.Enable(false);
#endif
}

0 comments on commit 84075fd

Please sign in to comment.