Index: webrtc/audio/audio_state_unittest.cc |
diff --git a/webrtc/audio/audio_state_unittest.cc b/webrtc/audio/audio_state_unittest.cc |
index bd39baac1b2a6c68fa47c0da7d2e81a4425db7ff..38485a88bf14665ce6b15d9a149cefec6513751f 100644 |
--- a/webrtc/audio/audio_state_unittest.cc |
+++ b/webrtc/audio/audio_state_unittest.cc |
@@ -11,6 +11,7 @@ |
#include <memory> |
#include "webrtc/audio/audio_state.h" |
+#include "webrtc/modules/audio_mixer/audio_mixer_impl.h" |
#include "webrtc/test/gtest.h" |
#include "webrtc/test/mock_voice_engine.h" |
@@ -29,6 +30,7 @@ struct ConfigHelper { |
EXPECT_CALL(voice_engine_, audio_transport()); |
config_.voice_engine = &voice_engine_; |
+ config_.audio_mixer = AudioMixerImpl::Create(); |
} |
AudioState::Config& config() { return config_; } |
MockVoiceEngine& voice_engine() { return voice_engine_; } |