From 91ed80e5c3e5f2888be1c1ae15fe8fe90a79eb97 Mon Sep 17 00:00:00 2001 From: "leozwang@webrtc.org" <leozwang@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> Date: Tue, 10 Apr 2012 14:42:20 +0000 Subject: [PATCH] Correct wrong trace level Review URL: https://webrtc-codereview.appspot.com/487002 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2002 4adac7df-926f-26a2-2b94-8c16560cd09d --- .../main/source/android/audio_device_android_opensles.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/modules/audio_device/main/source/android/audio_device_android_opensles.cc b/src/modules/audio_device/main/source/android/audio_device_android_opensles.cc index 32da04fac..2dd4a4c80 100644 --- a/src/modules/audio_device/main/source/android/audio_device_android_opensles.cc +++ b/src/modules/audio_device/main/source/android/audio_device_android_opensles.cc @@ -1230,7 +1230,6 @@ WebRtc_Word32 AudioDeviceAndroidOpenSLES::InitRecording() { audioSink.pFormat = (void *) &pcm; audioSink.pLocator = (void *) &simpleBufferQueue; - // Create audio recorder const SLInterfaceID id[1] = { SL_IID_ANDROIDSIMPLEBUFFERQUEUE }; const SLboolean req[1] = { SL_BOOLEAN_TRUE }; res = (*_slEngine)->CreateAudioRecorder(_slEngine, &_slRecorder, @@ -1250,8 +1249,6 @@ WebRtc_Word32 AudioDeviceAndroidOpenSLES::InitRecording() { return -1; } - WEBRTC_TRACE(kTraceError, kTraceAudioDevice, _id, - " get Recorder interface"); // Get the RECORD interface - it is an implicit interface res = (*_slRecorder)->GetInterface(_slRecorder, SL_IID_RECORD, (void*) &_slRecorderRecord); @@ -1261,8 +1258,6 @@ WebRtc_Word32 AudioDeviceAndroidOpenSLES::InitRecording() { return -1; } - WEBRTC_TRACE(kTraceError, kTraceAudioDevice, _id, - " get Recorder Simple Buffer Queue 2"); // Get the simpleBufferQueue interface res = (*_slRecorder)->GetInterface(_slRecorder, SL_IID_ANDROIDSIMPLEBUFFERQUEUE, @@ -1273,8 +1268,6 @@ WebRtc_Word32 AudioDeviceAndroidOpenSLES::InitRecording() { return -1; } - WEBRTC_TRACE(kTraceError, kTraceAudioDevice, _id, - " register Recorder Callback 2"); // Setup to receive buffer queue event callbacks res = (*_slRecorderSimpleBufferQueue)->RegisterCallback( _slRecorderSimpleBufferQueue,