Index: webrtc/modules/audio_coding/acm2/acm_resampler.cc |
diff --git a/webrtc/modules/audio_coding/acm2/acm_resampler.cc b/webrtc/modules/audio_coding/acm2/acm_resampler.cc |
index e38cd94a97887da69f31d190f1f931f478e50b65..5df87d2a19bf7021520258f8984d259f8280823a 100644 |
--- a/webrtc/modules/audio_coding/acm2/acm_resampler.cc |
+++ b/webrtc/modules/audio_coding/acm2/acm_resampler.cc |
@@ -44,20 +44,16 @@ int ACMResampler::Resample10Msec(const int16_t* in_audio, |
if (resampler_.InitializeIfNeeded(in_freq_hz, out_freq_hz, |
num_audio_channels) != 0) { |
- LOG_FERR3(LS_ERROR, InitializeIfNeeded, in_freq_hz, out_freq_hz, |
- num_audio_channels); |
+ LOG(LS_ERROR) << "InitializeIfNeeded(" << in_freq_hz << ", " << out_freq_hz |
+ << ", " << num_audio_channels << ") failed."; |
return -1; |
} |
out_length = |
resampler_.Resample(in_audio, in_length, out_audio, out_capacity_samples); |
if (out_length == -1) { |
- LOG_FERR4(LS_ERROR, |
- Resample, |
- in_audio, |
- in_length, |
- out_audio, |
- out_capacity_samples); |
+ LOG(LS_ERROR) << "Resample(" << in_audio << ", " << in_length << ", " |
+ << out_audio << ", " << out_capacity_samples << ") failed."; |
return -1; |
} |