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:
parent
98ad0ff1b0
commit
91ed80e5c3
@ -1230,7 +1230,6 @@ WebRtc_Word32 AudioDeviceAndroidOpenSLES::InitRecording() {
|
|||||||
audioSink.pFormat = (void *) &pcm;
|
audioSink.pFormat = (void *) &pcm;
|
||||||
audioSink.pLocator = (void *) &simpleBufferQueue;
|
audioSink.pLocator = (void *) &simpleBufferQueue;
|
||||||
|
|
||||||
// Create audio recorder
|
|
||||||
const SLInterfaceID id[1] = { SL_IID_ANDROIDSIMPLEBUFFERQUEUE };
|
const SLInterfaceID id[1] = { SL_IID_ANDROIDSIMPLEBUFFERQUEUE };
|
||||||
const SLboolean req[1] = { SL_BOOLEAN_TRUE };
|
const SLboolean req[1] = { SL_BOOLEAN_TRUE };
|
||||||
res = (*_slEngine)->CreateAudioRecorder(_slEngine, &_slRecorder,
|
res = (*_slEngine)->CreateAudioRecorder(_slEngine, &_slRecorder,
|
||||||
@ -1250,8 +1249,6 @@ WebRtc_Word32 AudioDeviceAndroidOpenSLES::InitRecording() {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
WEBRTC_TRACE(kTraceError, kTraceAudioDevice, _id,
|
|
||||||
" get Recorder interface");
|
|
||||||
// Get the RECORD interface - it is an implicit interface
|
// Get the RECORD interface - it is an implicit interface
|
||||||
res = (*_slRecorder)->GetInterface(_slRecorder, SL_IID_RECORD,
|
res = (*_slRecorder)->GetInterface(_slRecorder, SL_IID_RECORD,
|
||||||
(void*) &_slRecorderRecord);
|
(void*) &_slRecorderRecord);
|
||||||
@ -1261,8 +1258,6 @@ WebRtc_Word32 AudioDeviceAndroidOpenSLES::InitRecording() {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
WEBRTC_TRACE(kTraceError, kTraceAudioDevice, _id,
|
|
||||||
" get Recorder Simple Buffer Queue 2");
|
|
||||||
// Get the simpleBufferQueue interface
|
// Get the simpleBufferQueue interface
|
||||||
res = (*_slRecorder)->GetInterface(_slRecorder,
|
res = (*_slRecorder)->GetInterface(_slRecorder,
|
||||||
SL_IID_ANDROIDSIMPLEBUFFERQUEUE,
|
SL_IID_ANDROIDSIMPLEBUFFERQUEUE,
|
||||||
@ -1273,8 +1268,6 @@ WebRtc_Word32 AudioDeviceAndroidOpenSLES::InitRecording() {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
WEBRTC_TRACE(kTraceError, kTraceAudioDevice, _id,
|
|
||||||
" register Recorder Callback 2");
|
|
||||||
// Setup to receive buffer queue event callbacks
|
// Setup to receive buffer queue event callbacks
|
||||||
res = (*_slRecorderSimpleBufferQueue)->RegisterCallback(
|
res = (*_slRecorderSimpleBufferQueue)->RegisterCallback(
|
||||||
_slRecorderSimpleBufferQueue,
|
_slRecorderSimpleBufferQueue,
|
||||||
|
Loading…
Reference in New Issue
Block a user