Fix a variable naming typo

This typo was introduced in https://codereview.webrtc.org/2721123005/.

BUG=none
TBR=henrika@webrtc.org

Review-Url: https://codereview.webrtc.org/2976473002
Cr-Commit-Position: refs/heads/master@{#18930}
This commit is contained in:
henrik.lundin 2017-07-07 05:29:47 -07:00 committed by Commit Bot
parent e67bedbac3
commit de5ff8e2c8

View File

@ -41,7 +41,7 @@ void RemixAndResample(const int16_t* src_data,
AudioFrame* dst_frame) {
const int16_t* audio_ptr = src_data;
size_t audio_ptr_num_channels = num_channels;
int16_t downsmixed_audio[AudioFrame::kMaxDataSizeSamples];
int16_t downmixed_audio[AudioFrame::kMaxDataSizeSamples];
// Downmix before resampling.
if (num_channels > dst_frame->num_channels_) {
@ -52,8 +52,8 @@ void RemixAndResample(const int16_t* src_data,
AudioFrameOperations::DownmixChannels(
src_data, num_channels, samples_per_channel, dst_frame->num_channels_,
downsmixed_audio);
audio_ptr = downsmixed_audio;
downmixed_audio);
audio_ptr = downmixed_audio;
audio_ptr_num_channels = dst_frame->num_channels_;
}