From 044f104a2e4fd9bf9ce32b1b7b099fe410b50a73 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Thu, 23 Aug 2007 23:08:33 +0000 Subject: [PATCH] Forgot to remove some debugging messages from the PCM audio provider, making using any other audio provider really annoying. Originally committed to SVN as r1530. --- aegisub/audio_provider_pcm.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/aegisub/audio_provider_pcm.cpp b/aegisub/audio_provider_pcm.cpp index 776f00279..fb28e7233 100644 --- a/aegisub/audio_provider_pcm.cpp +++ b/aegisub/audio_provider_pcm.cpp @@ -276,29 +276,23 @@ public: AudioProvider *CreatePCMAudioProvider(const wxString &filename) { AudioProvider *provider = 0; - wxLogDebug(_T("Inside CreatePCMAudioProvider")); // Try Microsoft/IBM RIFF WAV first // XXX: This is going to blow up if built on big endian archs - wxLogDebug(_T("Trying to create RIFF WAV PCM provider")); try { provider = new RiffWavPCMAudioProvider(filename); } - catch (const wxChar *e) { wxLogWarning(_T("Thrown creating RIFF PCM WAV provider: %s"), e); provider = 0; } catch (...) { provider = 0; } if (provider && provider->GetChannels() > 1) { - wxLogDebug(_T("Have a PCM provider with non-mono sound")); // Can't feed non-mono audio to the rest of the program. // Create a downmixing proxy and if it fails, don't provide PCM. try { provider = new DownmixingAudioProvider(provider); } catch (...) { - wxLogDebug(_T("Failed creating downmixer for PCM")); delete provider; provider = 0; } } - wxLogDebug(_T("Returning from CreatePCMAudioProvider: %p"), provider); return provider; }