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
This commit is contained in:
parent
aefcdf49ba
commit
59886757cf
@ -62,7 +62,7 @@ enum TraceModule
|
||||
kTraceAudioMixerServer = 0x0008,
|
||||
kTraceAudioMixerClient = 0x0009,
|
||||
kTraceFile = 0x000a,
|
||||
kTraceVqe = 0x000b,
|
||||
kTraceAudioProcessing = 0x000b,
|
||||
kTraceVideoCoding = 0x0010,
|
||||
kTraceVideoMixer = 0x0011,
|
||||
kTraceAudioDevice = 0x0012,
|
||||
|
@ -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<WebRtc_UWord32>(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<WebRtc_UWord32>(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);*/
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user