Remove unused and rarely used LOG_ macros.
BUG= Review URL: https://codereview.webrtc.org/1522053002 Cr-Commit-Position: refs/heads/master@{#11014}
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user