Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(417)

Side by Side Diff: webrtc/voice_engine/voice_engine_fixture.h

Issue 2961723004: Allow an external audio processing module to be used in WebRTC (Closed)
Patch Set: Moved creation of APMs from CreateVoiceEngines Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/modules/audio_device/include/fake_audio_device.h" 11 #include "webrtc/modules/audio_device/include/fake_audio_device.h"
12 #include "webrtc/modules/audio_processing/include/audio_processing.h"
12 #include "webrtc/test/gtest.h" 13 #include "webrtc/test/gtest.h"
13 #include "webrtc/test/mock_transport.h" 14 #include "webrtc/test/mock_transport.h"
14 #include "webrtc/voice_engine/include/voe_base.h" 15 #include "webrtc/voice_engine/include/voe_base.h"
15 #include "webrtc/voice_engine/include/voe_network.h" 16 #include "webrtc/voice_engine/include/voe_network.h"
16 #include "webrtc/voice_engine/mock/mock_voe_observer.h" 17 #include "webrtc/voice_engine/mock/mock_voe_observer.h"
17 18
18 namespace webrtc { 19 namespace webrtc {
19 20
20 class VoiceEngineFixture : public ::testing::Test { 21 class VoiceEngineFixture : public ::testing::Test {
21 protected: 22 protected:
22 VoiceEngineFixture(); 23 VoiceEngineFixture();
23 ~VoiceEngineFixture(); 24 ~VoiceEngineFixture();
24 25
25 VoiceEngine* voe_; 26 VoiceEngine* voe_;
26 VoEBase* base_; 27 VoEBase* base_;
27 VoENetwork* network_; 28 VoENetwork* network_;
28 MockVoEObserver observer_; 29 MockVoEObserver observer_;
29 FakeAudioDeviceModule adm_; 30 FakeAudioDeviceModule adm_;
30 MockTransport transport_; 31 MockTransport transport_;
32 rtc::scoped_refptr<AudioProcessing> apm_;
31 }; 33 };
32 34
33 } // namespace webrtc 35 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/voice_engine/voe_network_unittest.cc ('k') | webrtc/voice_engine/voice_engine_fixture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698