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

Side by Side Diff: webrtc/voice_engine/voe_codec_unittest.cc

Issue 2753753004: Remove VoEHardware interface. (Closed)
Patch Set: rebase Created 3 years, 9 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
« no previous file with comments | « webrtc/voice_engine/voe_base_impl.cc ('k') | webrtc/voice_engine/voe_hardware_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 <memory> 11 #include <memory>
12 12
13 #include "webrtc/voice_engine/include/voe_codec.h" 13 #include "webrtc/voice_engine/include/voe_codec.h"
14 14
15 #include "webrtc/modules/audio_device/include/fake_audio_device.h" 15 #include "webrtc/modules/audio_device/include/fake_audio_device.h"
16 #include "webrtc/test/gtest.h" 16 #include "webrtc/test/gtest.h"
17 #include "webrtc/voice_engine/include/voe_base.h" 17 #include "webrtc/voice_engine/include/voe_base.h"
18 #include "webrtc/voice_engine/include/voe_hardware.h"
19 #include "webrtc/voice_engine/voice_engine_defines.h" 18 #include "webrtc/voice_engine/voice_engine_defines.h"
20 19
21 namespace webrtc { 20 namespace webrtc {
22 namespace voe { 21 namespace voe {
23 namespace { 22 namespace {
24 23
25 TEST(VoECodecInst, TestCompareCodecInstances) { 24 TEST(VoECodecInst, TestCompareCodecInstances) {
26 CodecInst codec1, codec2; 25 CodecInst codec1, codec2;
27 memset(&codec1, 0, sizeof(CodecInst)); 26 memset(&codec1, 0, sizeof(CodecInst));
28 memset(&codec2, 0, sizeof(CodecInst)); 27 memset(&codec2, 0, sizeof(CodecInst));
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 base->DeleteChannel(channel); 97 base->DeleteChannel(channel);
99 base->Terminate(); 98 base->Terminate();
100 base->Release(); 99 base->Release();
101 voe_codec->Release(); 100 voe_codec->Release();
102 VoiceEngine::Delete(voe); 101 VoiceEngine::Delete(voe);
103 } 102 }
104 103
105 } // namespace 104 } // namespace
106 } // namespace voe 105 } // namespace voe
107 } // namespace webrtc 106 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/voice_engine/voe_base_impl.cc ('k') | webrtc/voice_engine/voe_hardware_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698