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 Mar 6, 2012
1 parent baefaf9 commit 84075fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/Application.cpp
Expand Up @@ -3883,7 +3883,7 @@ bool CApplication::PlayFile(const CFileItem& item, bool bRestart)


// Workaround for bug/quirk in SDL_Mixer on OSX. // Workaround for bug/quirk in SDL_Mixer on OSX.
// TODO: Remove after GUI Sounds redux // TODO: Remove after GUI Sounds redux
#if defined(__APPLE__) #if defined(__APPLE__) || defined(_LINUX)
g_audioManager.Enable(false); g_audioManager.Enable(false);
#endif #endif


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


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

0 comments on commit 84075fd

Please sign in to comment.