Permalink
Browse files

Restore apps ability to control navsounds not just skin settings

  • Loading branch information...
1 parent 3de818d commit d21f83069fa05d6c5a0c051bf88ca9ca0bcbcb81 @DDDamian DDDamian committed Nov 17, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 xbmc/guilib/GUIAudioManager.cpp
@@ -339,7 +339,8 @@ IAESound* CGUIAudioManager::LoadWindowSound(TiXmlNode* pWindowNode, const CStdSt
void CGUIAudioManager::Enable(bool bEnable)
{
// always deinit audio when we don't want gui sounds
- bEnable = (g_guiSettings.GetString("lookandfeel.soundskin")=="OFF") ? false : true;
+ if (g_guiSettings.GetString("lookandfeel.soundskin")=="OFF")
+ bEnable = false;
CSingleLock lock(m_cs);
m_bEnabled = bEnable;

0 comments on commit d21f830

Please sign in to comment.