aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey McRae <gnif@xbmc.org>2012-04-25 12:21:14 +1200
committerJonathan Marshall <jmarshall@never.you.mind>2012-05-10 09:40:47 +1200
commit299273ce78c67950b86fca543650ae22c78f0f47 (patch)
treeab0e5a34d5ae121afc7881660bda1d30b8ac83ad
parent5eda08f67eb70cd020744ed31d12dcb2b96add9e (diff)
[AE] gui: no need to check passthrough when calling g_audioManager.Enable()
-rw-r--r--xbmc/Application.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp
index 1577bf050e..a4e0d44df5 100644
--- a/xbmc/Application.cpp
+++ b/xbmc/Application.cpp
@@ -2522,7 +2522,7 @@ bool CApplication::OnAction(const CAction &action)
{ // unpaused - set the playspeed back to normal
SetPlaySpeed(1);
}
- g_audioManager.Enable(m_pPlayer->IsPaused() && !g_audioContext.IsPassthroughActive());
+ g_audioManager.Enable(m_pPlayer->IsPaused());
return true;
}
if (!m_pPlayer->IsPaused())
@@ -2582,7 +2582,7 @@ bool CApplication::OnAction(const CAction &action)
{
// unpause, and set the playspeed back to normal
m_pPlayer->Pause();
- g_audioManager.Enable(m_pPlayer->IsPaused() && !g_audioContext.IsPassthroughActive());
+ g_audioManager.Enable(m_pPlayer->IsPaused());
g_application.SetPlaySpeed(1);
return true;