From d2a2de2d9ef99155657fc7b91f10ad603e00d883 Mon Sep 17 00:00:00 2001 From: martynshaw99 Date: Tue, 23 Aug 2011 19:45:14 +0000 Subject: [PATCH] Remove unneeded log messages --- src/AudioIO.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/AudioIO.cpp b/src/AudioIO.cpp index 44defc033..f12b503b4 100644 --- a/src/AudioIO.cpp +++ b/src/AudioIO.cpp @@ -1902,7 +1902,6 @@ wxArrayLong AudioIO::GetSupportedPlaybackRates(int devIndex, double rate) const PaDeviceInfo* devInfo = NULL; int i; - wxLogDebug(wxT("Getting supported playback rates for device %d"), devIndex); devInfo = Pa_GetDeviceInfo(devIndex); if (!devInfo) @@ -1922,19 +1921,13 @@ wxArrayLong AudioIO::GetSupportedPlaybackRates(int devIndex, double rate) for (i = 0; i < NumRatesToTry; i++) { if (Pa_IsFormatSupported(NULL, &pars, RatesToTry[i]) == 0) - { - wxLogDebug(wxT("Rate %ld Hz is supported"), RatesToTry[i]); supported.Add(RatesToTry[i]); - } } if (irate != 0 && supported.Index(irate) == wxNOT_FOUND) { if (Pa_IsFormatSupported(NULL, &pars, irate) == 0) - { - wxLogDebug(wxT("Suggested rate %ld Hz is supported"), irate); supported.Add(irate); - } } return supported; @@ -1959,7 +1952,6 @@ wxArrayLong AudioIO::GetSupportedCaptureRates(int devIndex, double rate) const PaDeviceInfo* devInfo = NULL; int i; - wxLogDebug(wxT("Getting supported capture rates for device %d"), devIndex); devInfo = Pa_GetDeviceInfo(devIndex); if (!devInfo) @@ -1984,19 +1976,13 @@ wxArrayLong AudioIO::GetSupportedCaptureRates(int devIndex, double rate) for (i = 0; i < NumRatesToTry; i++) { if (Pa_IsFormatSupported(&pars, NULL, RatesToTry[i]) == 0) - { - wxLogDebug(wxT("Rate %ld Hz is supported"), RatesToTry[i]); supported.Add(RatesToTry[i]); - } } if (irate != 0 && supported.Index(irate) == wxNOT_FOUND) { if (Pa_IsFormatSupported(&pars, NULL, irate) == 0) - { - wxLogDebug(wxT("Suggested rate %ld Hz is supported"), irate); supported.Add(irate); - } } return supported;