From 554a61daf52a5d7b222e91301500eddc84586310 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 16 Nov 2011 19:54:45 +0000 Subject: [PATCH] Remove redundant wxLogErrors in DirectSoundPlayer2 that the scripted conversion to the new logging system missed Originally committed to SVN as r5851. --- aegisub/src/audio_player_dsound2.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/aegisub/src/audio_player_dsound2.cpp b/aegisub/src/audio_player_dsound2.cpp index 9b3f3f9ea..fbd2a3e2d 100644 --- a/aegisub/src/audio_player_dsound2.cpp +++ b/aegisub/src/audio_player_dsound2.cpp @@ -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 - -