Remove VoE's default call in Trace::SetLevelFilter.
This is an application level setting. Applying it here has the potential to override the application's preferences. BUG= Review URL: https://webrtc-codereview.appspot.com/1252004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3727 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
d8a6e72057
commit
1b31c78e5f
@ -35,7 +35,6 @@ SharedData::SharedData() :
|
||||
_externalPlayout(false)
|
||||
{
|
||||
Trace::CreateTrace();
|
||||
Trace::SetLevelFilter(WEBRTC_VOICE_ENGINE_DEFAULT_TRACE_FILTER);
|
||||
if (OutputMixer::Create(_outputMixerPtr, _gInstanceCounter) == 0)
|
||||
{
|
||||
_outputMixerPtr->SetEngineInformation(_engineStatistics);
|
||||
|
@ -207,14 +207,6 @@ enum { kVoiceEngineMaxRtpExtensionId = 14 };
|
||||
|
||||
#define CHECK_CHANNEL(channel) if (CheckChannel(channel) == -1) return -1;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Default Trace filter
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#define WEBRTC_VOICE_ENGINE_DEFAULT_TRACE_FILTER \
|
||||
kTraceStateInfo | kTraceWarning | kTraceError | kTraceCritical | \
|
||||
kTraceApiCall
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Inline functions
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user