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
This commit is contained in:
leozwang@webrtc.org 2012-04-10 14:42:20 +00:00
parent 98ad0ff1b0
commit 91ed80e5c3

View File

@ -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,