Index: webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc |
diff --git a/webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc b/webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc |
index 895535fdb2bca2502446d075180a51867e496891..5258fdce9c8c1f5e2860616895cdf349194908cd 100644 |
--- a/webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc |
+++ b/webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc |
@@ -273,6 +273,8 @@ TEST(AudioMixer, ParticipantSampleRate) { |
for (auto frequency : {8000, 16000, 32000, 48000}) { |
EXPECT_CALL(participant, GetAudioFrameWithMuted(_, frequency)) |
.Times(Exactly(1)); |
+ participant.fake_frame()->sample_rate_hz_ = frequency; |
+ participant.fake_frame()->samples_per_channel_ = frequency / 100; |
mixer->Mix(frequency, 1, &frame_for_mixing); |
EXPECT_EQ(frequency, frame_for_mixing.sample_rate_hz_); |
} |