Declare LERROR deprecated and remove all usage in webrtc
Bug: webrtc:13362 Change-Id: I1c6c6eccd950d73be616b34f96db7832ff94377e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/238804 Commit-Queue: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35416}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
4e8e36c745
commit
5f34130f26
@ -324,8 +324,7 @@ AudioDeviceModuleIOS::AudioDeviceModuleIOS(bool bypass_voice_processing)
|
||||
RTC_DLOG(LS_INFO) << __FUNCTION__ << "(" << enable << ")";
|
||||
CHECKinitialized_();
|
||||
if (audio_device_->PlayoutIsInitialized()) {
|
||||
RTC_LOG(LERROR)
|
||||
<< "unable to set stereo mode while playing side is initialized";
|
||||
RTC_LOG(LS_ERROR) << "unable to set stereo mode while playing side is initialized";
|
||||
return -1;
|
||||
}
|
||||
if (audio_device_->SetStereoPlayout(enable)) {
|
||||
@ -588,7 +587,7 @@ AudioDeviceModuleIOS::AudioDeviceModuleIOS(bool bypass_voice_processing)
|
||||
CHECKinitialized_();
|
||||
uint16_t delay = 0;
|
||||
if (audio_device_->PlayoutDelay(delay) == -1) {
|
||||
RTC_LOG(LERROR) << "failed to retrieve the playout delay";
|
||||
RTC_LOG(LS_ERROR) << "failed to retrieve the playout delay";
|
||||
return -1;
|
||||
}
|
||||
*delayMS = delay;
|
||||
|
||||
Reference in New Issue
Block a user