OLD | NEW |
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 "webrtc/modules/audio_coding/main/test/TestAllCodecs.h" | 11 #include "webrtc/modules/audio_coding/main/test/TestAllCodecs.h" |
12 | 12 |
13 #include <cstdio> | 13 #include <cstdio> |
14 #include <limits> | 14 #include <limits> |
15 #include <string> | 15 #include <string> |
16 | 16 |
17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
18 | 18 |
19 #include "webrtc/common_types.h" | 19 #include "webrtc/common_types.h" |
20 #include "webrtc/engine_configurations.h" | 20 #include "webrtc/engine_configurations.h" |
21 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module.h" | 21 #include "webrtc/modules/audio_coding/main/include/audio_coding_module.h" |
22 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module_typedef
s.h" | 22 #include "webrtc/modules/audio_coding/main/include/audio_coding_module_typedefs.
h" |
23 #include "webrtc/modules/audio_coding/main/test/utility.h" | 23 #include "webrtc/modules/audio_coding/main/test/utility.h" |
24 #include "webrtc/system_wrappers/include/trace.h" | 24 #include "webrtc/system_wrappers/include/trace.h" |
25 #include "webrtc/test/testsupport/fileutils.h" | 25 #include "webrtc/test/testsupport/fileutils.h" |
26 #include "webrtc/typedefs.h" | 26 #include "webrtc/typedefs.h" |
27 | 27 |
28 // Description of the test: | 28 // Description of the test: |
29 // In this test we set up a one-way communication channel from a participant | 29 // In this test we set up a one-way communication channel from a participant |
30 // called "a" to a participant called "b". | 30 // called "a" to a participant called "b". |
31 // a -> channel_a_to_b -> b | 31 // a -> channel_a_to_b -> b |
32 // | 32 // |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 | 477 |
478 void TestAllCodecs::DisplaySendReceiveCodec() { | 478 void TestAllCodecs::DisplaySendReceiveCodec() { |
479 CodecInst my_codec_param; | 479 CodecInst my_codec_param; |
480 acm_a_->SendCodec(&my_codec_param); | 480 acm_a_->SendCodec(&my_codec_param); |
481 printf("%s -> ", my_codec_param.plname); | 481 printf("%s -> ", my_codec_param.plname); |
482 acm_b_->ReceiveCodec(&my_codec_param); | 482 acm_b_->ReceiveCodec(&my_codec_param); |
483 printf("%s\n", my_codec_param.plname); | 483 printf("%s\n", my_codec_param.plname); |
484 } | 484 } |
485 | 485 |
486 } // namespace webrtc | 486 } // namespace webrtc |
OLD | NEW |