land 728008
Review URL: https://webrtc-codereview.appspot.com/708014 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2627 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
1c80d794e3
commit
a51e766253
@ -2076,7 +2076,7 @@ WebRtc_Word32 AudioDeviceLinuxALSA::ErrorRecovery(WebRtc_Word32 error,
|
||||
}
|
||||
else {
|
||||
WEBRTC_TRACE(kTraceError, kTraceAudioDevice, _id,
|
||||
" Terriable, it shouldn't happen");
|
||||
" Unrecoverable alsa stream error: %d", res);
|
||||
}
|
||||
|
||||
return res;
|
||||
@ -2203,7 +2203,7 @@ bool AudioDeviceLinuxALSA::RecThreadProcess()
|
||||
ALSA_CAPTURE_WAIT_TIMEOUT);
|
||||
if (err == 0) //timeout occured
|
||||
WEBRTC_TRACE(kTraceStream, kTraceAudioDevice, _id,
|
||||
"caputre snd_pcm_wait timeout");
|
||||
"capture snd_pcm_wait timeout");
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -2216,7 +2216,7 @@ bool AudioDeviceLinuxALSA::RecThreadProcess()
|
||||
if (frames < 0)
|
||||
{
|
||||
WEBRTC_TRACE(kTraceError, kTraceAudioDevice, _id,
|
||||
"caputre snd_pcm_readi error: %s",
|
||||
"capture snd_pcm_readi error: %s",
|
||||
LATE(snd_strerror)(frames));
|
||||
ErrorRecovery(frames, _handleRecord);
|
||||
UnLock();
|
||||
@ -2282,7 +2282,7 @@ bool AudioDeviceLinuxALSA::RecThreadProcess()
|
||||
// TODO(xians): Shall we call ErrorRecovery() here?
|
||||
_recordingDelay = 0;
|
||||
WEBRTC_TRACE(kTraceError, kTraceAudioDevice, _id,
|
||||
"caputre snd_pcm_delay: %s",
|
||||
"capture snd_pcm_delay: %s",
|
||||
LATE(snd_strerror)(err));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user