Index: webrtc/audio/audio_transport_proxy.cc |
diff --git a/webrtc/audio/audio_transport_proxy.cc b/webrtc/audio/audio_transport_proxy.cc |
index d6ce9397c71fdd2d597f36754aef0deb45f6b3fa..d8575bfd68284cbbb0a90bf361401a3c20fc97df 100644 |
--- a/webrtc/audio/audio_transport_proxy.cc |
+++ b/webrtc/audio/audio_transport_proxy.cc |
@@ -34,11 +34,12 @@ int Resample(const AudioFrame& frame, |
} // namespace |
AudioTransportProxy::AudioTransportProxy(AudioTransport* voe_audio_transport, |
- AudioProcessing* apm, |
+ AudioProcessing* audio_processing, |
AudioMixer* mixer) |
- : voe_audio_transport_(voe_audio_transport), apm_(apm), mixer_(mixer) { |
+ : voe_audio_transport_(voe_audio_transport), |
+ audio_processing_(audio_processing), mixer_(mixer) { |
RTC_DCHECK(voe_audio_transport); |
- RTC_DCHECK(apm); |
+ RTC_DCHECK(audio_processing); |
RTC_DCHECK(mixer); |
} |
@@ -85,7 +86,7 @@ int32_t AudioTransportProxy::NeedMorePlayData(const size_t nSamples, |
*elapsed_time_ms = mixed_frame_.elapsed_time_ms_; |
*ntp_time_ms = mixed_frame_.ntp_time_ms_; |
- const auto error = apm_->ProcessReverseStream(&mixed_frame_); |
+ const auto error = audio_processing_->ProcessReverseStream(&mixed_frame_); |
RTC_DCHECK_EQ(error, AudioProcessing::kNoError); |
nSamplesOut = Resample(mixed_frame_, samplesPerSec, &resampler_, |