| Index: webrtc/voice_engine/voe_file_impl.cc
|
| diff --git a/webrtc/voice_engine/voe_file_impl.cc b/webrtc/voice_engine/voe_file_impl.cc
|
| index 78613b03f5e90241da498d7b4312b20b0348bbc6..bc9245fdf26c6ab477455b972af9a2506691f1ea 100644
|
| --- a/webrtc/voice_engine/voe_file_impl.cc
|
| +++ b/webrtc/voice_engine/voe_file_impl.cc
|
| @@ -396,10 +396,7 @@ int VoEFileImpl::StartRecordingMicrophone(const char* fileNameUTF8,
|
| "StartRecordingMicrophone() failed to start recording");
|
| return -1;
|
| }
|
| - if (_shared->audio_device()->Recording()) {
|
| - return 0;
|
| - }
|
| - if (!_shared->ext_recording()) {
|
| + if (!_shared->audio_device()->Recording()) {
|
| if (_shared->audio_device()->InitRecording() != 0) {
|
| WEBRTC_TRACE(kTraceError, kTraceVoice, VoEId(_shared->instance_id(), -1),
|
| "StartRecordingMicrophone() failed to initialize recording");
|
| @@ -429,10 +426,7 @@ int VoEFileImpl::StartRecordingMicrophone(OutStream* stream,
|
| "StartRecordingMicrophone() failed to start recording");
|
| return -1;
|
| }
|
| - if (_shared->audio_device()->Recording()) {
|
| - return 0;
|
| - }
|
| - if (!_shared->ext_recording()) {
|
| + if (!_shared->audio_device()->Recording()) {
|
| if (_shared->audio_device()->InitRecording() != 0) {
|
| WEBRTC_TRACE(kTraceError, kTraceVoice, VoEId(_shared->instance_id(), -1),
|
| "StartRecordingMicrophone() failed to initialize recording");
|
|
|