Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

linux: disable gui sounds before starting player

  • Loading branch information...
commit 84075fdab60d660919699f6de6ae15c751cd1e8e 1 parent baefaf9
@FernetMenta authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/Application.cpp
View
4 xbmc/Application.cpp
@@ -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
}
Please sign in to comment.
Something went wrong with that request. Please try again.