Skip to content

Commit

Permalink
fixed: wrong log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
spiff committed Oct 31, 2012
1 parent 29b9804 commit 8845033
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions xbmc/ApplicationMessenger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ void CApplicationMessenger::ProcessMessage(ThreadMessage *pMsg)
/* don't block external player's access to audio device */
if (!CAEFactory::Suspend())
{
CLog::Log(LOGNOTICE, __FUNCTION__, "Failed to suspend AudioEngine before launching external program");
CLog::Log(LOGNOTICE, "%s: Failed to suspend AudioEngine before launching external program",__FUNCTION__);
}
#if defined( _LINUX) && !defined(TARGET_DARWIN)
CUtil::RunCommandLine(pMsg->strParam.c_str(), (pMsg->dwParam1 == 1));
Expand All @@ -530,7 +530,7 @@ void CApplicationMessenger::ProcessMessage(ThreadMessage *pMsg)
/* Resume AE processing of XBMC native audio */
if (!CAEFactory::Resume())
{
CLog::Log(LOGFATAL, __FUNCTION__, "Failed to restart AudioEngine after return from external player");
CLog::Log(LOGFATAL, "%s: Failed to restart AudioEngine after return from external player",__FUNCTION__);
}
break;

Expand Down
4 changes: 2 additions & 2 deletions xbmc/cores/ExternalPlayer/ExternalPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ void CExternalPlayer::Process()
/* don't block external player's access to audio device */
if (!CAEFactory::Suspend())
{
CLog::Log(LOGNOTICE, __FUNCTION__, "Failed to suspend AudioEngine before launching external player");
CLog::Log(LOGNOTICE,"%s: Failed to suspend AudioEngine before launching external player", __FUNCTION__);
}


Expand Down Expand Up @@ -361,7 +361,7 @@ void CExternalPlayer::Process()
/* Resume AE processing of XBMC native audio */
if (!CAEFactory::Resume())
{
CLog::Log(LOGFATAL, __FUNCTION__, "Failed to restart AudioEngine after return from external player");
CLog::Log(LOGFATAL, "%s: Failed to restart AudioEngine after return from external player",__FUNCTION__);
}

// We don't want to come back to an active screensaver
Expand Down

0 comments on commit 8845033

Please sign in to comment.