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,
|
kTraceAudioMixerServer = 0x0008,
|
||||||
kTraceAudioMixerClient = 0x0009,
|
kTraceAudioMixerClient = 0x0009,
|
||||||
kTraceFile = 0x000a,
|
kTraceFile = 0x000a,
|
||||||
kTraceVqe = 0x000b,
|
kTraceAudioProcessing = 0x000b,
|
||||||
kTraceVideoCoding = 0x0010,
|
kTraceVideoCoding = 0x0010,
|
||||||
kTraceVideoMixer = 0x0011,
|
kTraceVideoMixer = 0x0011,
|
||||||
kTraceAudioDevice = 0x0012,
|
kTraceAudioDevice = 0x0012,
|
||||||
|
@ -42,7 +42,7 @@ const char kMagicNumber[] = "#!vqetrace1.2";
|
|||||||
|
|
||||||
AudioProcessing* AudioProcessing::Create(int id) {
|
AudioProcessing* AudioProcessing::Create(int id) {
|
||||||
/*WEBRTC_TRACE(webrtc::kTraceModuleCall,
|
/*WEBRTC_TRACE(webrtc::kTraceModuleCall,
|
||||||
webrtc::kTraceVqe,
|
webrtc::kTraceAudioProcessing,
|
||||||
id,
|
id,
|
||||||
"AudioProcessing::Create()");*/
|
"AudioProcessing::Create()");*/
|
||||||
|
|
||||||
@ -571,7 +571,7 @@ WebRtc_Word32 AudioProcessingImpl::Version(WebRtc_Word8* version,
|
|||||||
WebRtc_UWord32& bytes_remaining, WebRtc_UWord32& position) const {
|
WebRtc_UWord32& bytes_remaining, WebRtc_UWord32& position) const {
|
||||||
if (version == NULL) {
|
if (version == NULL) {
|
||||||
/*WEBRTC_TRACE(webrtc::kTraceError,
|
/*WEBRTC_TRACE(webrtc::kTraceError,
|
||||||
webrtc::kTraceVqe,
|
webrtc::kTraceAudioProcessing,
|
||||||
-1,
|
-1,
|
||||||
"Null version pointer");*/
|
"Null version pointer");*/
|
||||||
return kNullPointerError;
|
return kNullPointerError;
|
||||||
@ -583,7 +583,7 @@ WebRtc_Word32 AudioProcessingImpl::Version(WebRtc_Word8* version,
|
|||||||
WebRtc_UWord32 length = static_cast<WebRtc_UWord32>(strlen(my_version));
|
WebRtc_UWord32 length = static_cast<WebRtc_UWord32>(strlen(my_version));
|
||||||
if (bytes_remaining < length) {
|
if (bytes_remaining < length) {
|
||||||
/*WEBRTC_TRACE(webrtc::kTraceError,
|
/*WEBRTC_TRACE(webrtc::kTraceError,
|
||||||
webrtc::kTraceVqe,
|
webrtc::kTraceAudioProcessing,
|
||||||
-1,
|
-1,
|
||||||
"Buffer of insufficient length");*/
|
"Buffer of insufficient length");*/
|
||||||
return kBadParameterError;
|
return kBadParameterError;
|
||||||
@ -609,7 +609,7 @@ WebRtc_Word32 AudioProcessingImpl::Version(WebRtc_Word8* version,
|
|||||||
length = static_cast<WebRtc_UWord32>(strlen(component_version));
|
length = static_cast<WebRtc_UWord32>(strlen(component_version));
|
||||||
if (bytes_remaining < length) {
|
if (bytes_remaining < length) {
|
||||||
/*WEBRTC_TRACE(webrtc::kTraceError,
|
/*WEBRTC_TRACE(webrtc::kTraceError,
|
||||||
webrtc::kTraceVqe,
|
webrtc::kTraceAudioProcessing,
|
||||||
-1,
|
-1,
|
||||||
"Buffer of insufficient length");*/
|
"Buffer of insufficient length");*/
|
||||||
return kBadParameterError;
|
return kBadParameterError;
|
||||||
@ -625,7 +625,7 @@ WebRtc_Word32 AudioProcessingImpl::Version(WebRtc_Word8* version,
|
|||||||
WebRtc_Word32 AudioProcessingImpl::ChangeUniqueId(const WebRtc_Word32 id) {
|
WebRtc_Word32 AudioProcessingImpl::ChangeUniqueId(const WebRtc_Word32 id) {
|
||||||
CriticalSectionScoped crit_scoped(*crit_);
|
CriticalSectionScoped crit_scoped(*crit_);
|
||||||
/*WEBRTC_TRACE(webrtc::kTraceModuleCall,
|
/*WEBRTC_TRACE(webrtc::kTraceModuleCall,
|
||||||
webrtc::kTraceVqe,
|
webrtc::kTraceAudioProcessing,
|
||||||
id_,
|
id_,
|
||||||
"ChangeUniqueId(new id = %d)",
|
"ChangeUniqueId(new id = %d)",
|
||||||
id);*/
|
id);*/
|
||||||
|
@ -393,8 +393,8 @@ WebRtc_Word32 TraceImpl::AddModuleAndId(char* traceMessage,
|
|||||||
sprintf(traceMessage, " FILE:%5ld %5ld;", idEngine,
|
sprintf(traceMessage, " FILE:%5ld %5ld;", idEngine,
|
||||||
idChannel);
|
idChannel);
|
||||||
break;
|
break;
|
||||||
case kTraceVqe:
|
case kTraceAudioProcessing:
|
||||||
sprintf(traceMessage, " VQE:%5ld %5ld;", idEngine,
|
sprintf(traceMessage, " AUDIO PROC:%5ld %5ld;", idEngine,
|
||||||
idChannel);
|
idChannel);
|
||||||
break;
|
break;
|
||||||
case kTraceAudioDevice:
|
case kTraceAudioDevice:
|
||||||
@ -456,8 +456,8 @@ WebRtc_Word32 TraceImpl::AddModuleAndId(char* traceMessage,
|
|||||||
case kTraceFile:
|
case kTraceFile:
|
||||||
sprintf (traceMessage, " FILE:%11ld;", idl);
|
sprintf (traceMessage, " FILE:%11ld;", idl);
|
||||||
break;
|
break;
|
||||||
case kTraceVqe:
|
case kTraceAudioProcessing:
|
||||||
sprintf (traceMessage, " VQE:%11ld;", idl);
|
sprintf (traceMessage, " AUDIO PROC:%11ld;", idl);
|
||||||
break;
|
break;
|
||||||
case kTraceAudioDevice:
|
case kTraceAudioDevice:
|
||||||
sprintf (traceMessage, "AUDIO DEVICE:%11ld;", idl);
|
sprintf (traceMessage, "AUDIO DEVICE:%11ld;", idl);
|
||||||
|
Loading…
Reference in New Issue
Block a user