From 59886757cf82b0360be210e47a2342346eb6ef87 Mon Sep 17 00:00:00 2001 From: "ajm@google.com" Date: Tue, 31 May 2011 22:15:52 +0000 Subject: [PATCH] Replacing kTraceVqe with kTraceAudioProcessing. Review URL: http://webrtc-codereview.appspot.com/28014 git-svn-id: http://webrtc.googlecode.com/svn/trunk@21 4adac7df-926f-26a2-2b94-8c16560cd09d --- common_types.h | 2 +- .../main/source/audio_processing_impl.cc | 10 +++++----- system_wrappers/source/trace_impl.cc | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/common_types.h b/common_types.h index f4f80dbf9..8b0b8a59c 100644 --- a/common_types.h +++ b/common_types.h @@ -62,7 +62,7 @@ enum TraceModule kTraceAudioMixerServer = 0x0008, kTraceAudioMixerClient = 0x0009, kTraceFile = 0x000a, - kTraceVqe = 0x000b, + kTraceAudioProcessing = 0x000b, kTraceVideoCoding = 0x0010, kTraceVideoMixer = 0x0011, kTraceAudioDevice = 0x0012, diff --git a/modules/audio_processing/main/source/audio_processing_impl.cc b/modules/audio_processing/main/source/audio_processing_impl.cc index 97f660bca..6440e36ec 100644 --- a/modules/audio_processing/main/source/audio_processing_impl.cc +++ b/modules/audio_processing/main/source/audio_processing_impl.cc @@ -42,7 +42,7 @@ const char kMagicNumber[] = "#!vqetrace1.2"; AudioProcessing* AudioProcessing::Create(int id) { /*WEBRTC_TRACE(webrtc::kTraceModuleCall, - webrtc::kTraceVqe, + webrtc::kTraceAudioProcessing, id, "AudioProcessing::Create()");*/ @@ -571,7 +571,7 @@ WebRtc_Word32 AudioProcessingImpl::Version(WebRtc_Word8* version, WebRtc_UWord32& bytes_remaining, WebRtc_UWord32& position) const { if (version == NULL) { /*WEBRTC_TRACE(webrtc::kTraceError, - webrtc::kTraceVqe, + webrtc::kTraceAudioProcessing, -1, "Null version pointer");*/ return kNullPointerError; @@ -583,7 +583,7 @@ WebRtc_Word32 AudioProcessingImpl::Version(WebRtc_Word8* version, WebRtc_UWord32 length = static_cast(strlen(my_version)); if (bytes_remaining < length) { /*WEBRTC_TRACE(webrtc::kTraceError, - webrtc::kTraceVqe, + webrtc::kTraceAudioProcessing, -1, "Buffer of insufficient length");*/ return kBadParameterError; @@ -609,7 +609,7 @@ WebRtc_Word32 AudioProcessingImpl::Version(WebRtc_Word8* version, length = static_cast(strlen(component_version)); if (bytes_remaining < length) { /*WEBRTC_TRACE(webrtc::kTraceError, - webrtc::kTraceVqe, + webrtc::kTraceAudioProcessing, -1, "Buffer of insufficient length");*/ return kBadParameterError; @@ -625,7 +625,7 @@ WebRtc_Word32 AudioProcessingImpl::Version(WebRtc_Word8* version, WebRtc_Word32 AudioProcessingImpl::ChangeUniqueId(const WebRtc_Word32 id) { CriticalSectionScoped crit_scoped(*crit_); /*WEBRTC_TRACE(webrtc::kTraceModuleCall, - webrtc::kTraceVqe, + webrtc::kTraceAudioProcessing, id_, "ChangeUniqueId(new id = %d)", id);*/ diff --git a/system_wrappers/source/trace_impl.cc b/system_wrappers/source/trace_impl.cc index 5d269ffc1..0a5f9db46 100644 --- a/system_wrappers/source/trace_impl.cc +++ b/system_wrappers/source/trace_impl.cc @@ -393,8 +393,8 @@ WebRtc_Word32 TraceImpl::AddModuleAndId(char* traceMessage, sprintf(traceMessage, " FILE:%5ld %5ld;", idEngine, idChannel); break; - case kTraceVqe: - sprintf(traceMessage, " VQE:%5ld %5ld;", idEngine, + case kTraceAudioProcessing: + sprintf(traceMessage, " AUDIO PROC:%5ld %5ld;", idEngine, idChannel); break; case kTraceAudioDevice: @@ -456,8 +456,8 @@ WebRtc_Word32 TraceImpl::AddModuleAndId(char* traceMessage, case kTraceFile: sprintf (traceMessage, " FILE:%11ld;", idl); break; - case kTraceVqe: - sprintf (traceMessage, " VQE:%11ld;", idl); + case kTraceAudioProcessing: + sprintf (traceMessage, " AUDIO PROC:%11ld;", idl); break; case kTraceAudioDevice: sprintf (traceMessage, "AUDIO DEVICE:%11ld;", idl);