Remove redundant wxLogErrors in DirectSoundPlayer2 that the scripted conversion to the new logging system missed

Originally committed to SVN as r5851.
This commit is contained in:
Thomas Goyne 2011-11-16 19:54:45 +00:00
parent 3dd5cbd31d
commit 554a61daf5
1 changed files with 0 additions and 15 deletions

View File

@ -917,7 +917,6 @@ void DirectSoundPlayer2::OpenStream()
catch (const char *msg)
{
LOG_E("audio/player/dsound") << msg;
wxLogError(msg);
thread = 0;
}
}
@ -936,7 +935,6 @@ void DirectSoundPlayer2::CloseStream()
catch (const char *msg)
{
LOG_E("audio/player/dsound") << msg;
wxLogError(msg);
}
thread = 0;
}
@ -962,7 +960,6 @@ void DirectSoundPlayer2::SetProvider(AudioProvider *provider)
catch (const char *msg)
{
LOG_E("audio/player/dsound") << msg;
wxLogError(msg);
}
}
@ -983,7 +980,6 @@ void DirectSoundPlayer2::Play(int64_t start,int64_t count)
catch (const char *msg)
{
LOG_E("audio/player/dsound") << msg;
wxLogError(msg);
}
}
@ -1005,7 +1001,6 @@ void DirectSoundPlayer2::Stop(bool timerToo)
catch (const char *msg)
{
LOG_E("audio/player/dsound") << msg;
wxLogError(msg);
}
}
@ -1023,7 +1018,6 @@ bool DirectSoundPlayer2::IsPlaying()
catch (const char *msg)
{
LOG_E("audio/player/dsound") << msg;
wxLogError(msg);
return false;
}
}
@ -1044,7 +1038,6 @@ int64_t DirectSoundPlayer2::GetStartPosition()
catch (const char *msg)
{
LOG_E("audio/player/dsound") << msg;
wxLogError(msg);
return 0;
}
}
@ -1065,7 +1058,6 @@ int64_t DirectSoundPlayer2::GetEndPosition()
catch (const char *msg)
{
LOG_E("audio/player/dsound") << msg;
wxLogError(msg);
return 0;
}
}
@ -1086,7 +1078,6 @@ int64_t DirectSoundPlayer2::GetCurrentPosition()
catch (const char *msg)
{
LOG_E("audio/player/dsound") << msg;
wxLogError(msg);
return 0;
}
}
@ -1104,7 +1095,6 @@ void DirectSoundPlayer2::SetEndPosition(int64_t pos)
catch (const char *msg)
{
LOG_E("audio/player/dsound") << msg;
wxLogError(msg);
}
}
@ -1123,7 +1113,6 @@ void DirectSoundPlayer2::SetCurrentPosition(int64_t pos)
catch (const char *msg)
{
LOG_E("audio/player/dsound") << msg;
wxLogError(msg);
}
}
@ -1140,7 +1129,6 @@ void DirectSoundPlayer2::SetVolume(double vol)
catch (const char *msg)
{
LOG_E("audio/player/dsound") << msg;
wxLogError(msg);
}
}
@ -1158,12 +1146,9 @@ double DirectSoundPlayer2::GetVolume()
catch (const char *msg)
{
LOG_E("audio/player/dsound") << msg;
wxLogError(msg);
return 0;
}
}
#endif // WITH_DIRECTSOUND