diff --git a/src/modules/audio_device/main/source/linux/audio_device_alsa_linux.cc b/src/modules/audio_device/main/source/linux/audio_device_alsa_linux.cc index e62636339..0f551ee9f 100644 --- a/src/modules/audio_device/main/source/linux/audio_device_alsa_linux.cc +++ b/src/modules/audio_device/main/source/linux/audio_device_alsa_linux.cc @@ -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)); }