Skip to content

Commit

Permalink
Merge pull request #735 from FernetMenta/mainline2
Browse files Browse the repository at this point in the history
linux: disable gui sounds before starting player
  • Loading branch information
FernetMenta committed Mar 9, 2012
2 parents 2e1548f + bb4245c commit 714b560
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/Application.cpp
Expand Up @@ -3804,7 +3804,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

Expand Down Expand Up @@ -3868,7 +3868,7 @@ bool CApplication::PlayFile(const CFileItem& item, bool bRestart)
}
#endif

#if !defined(__APPLE__)
#if !defined(__APPLE__) && !defined(_LINUX)
g_audioManager.Enable(false);
#endif
}
Expand Down

0 comments on commit 714b560

Please sign in to comment.