Skip to content

Commit

Permalink
linux: disable gui sounds before starting player
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Feb 27, 2012
1 parent 772c959 commit bb4245c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/Application.cpp
Original file line number Diff line number Diff line change
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 bb4245c

Please sign in to comment.