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/EncodeDecodeTest.h" | 11 #include "webrtc/modules/audio_coding/main/test/EncodeDecodeTest.h" |
12 | 12 |
13 #include <sstream> | 13 #include <sstream> |
14 #include <stdio.h> | 14 #include <stdio.h> |
15 #include <stdlib.h> | 15 #include <stdlib.h> |
16 | 16 |
17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
18 #include "webrtc/base/scoped_ptr.h" | 18 #include "webrtc/base/scoped_ptr.h" |
19 #include "webrtc/common_types.h" | 19 #include "webrtc/common_types.h" |
20 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module.h" | 20 #include "webrtc/modules/audio_coding/main/include/audio_coding_module.h" |
21 #include "webrtc/modules/audio_coding/main/acm2/acm_common_defs.h" | 21 #include "webrtc/modules/audio_coding/main/acm2/acm_common_defs.h" |
22 #include "webrtc/modules/audio_coding/main/test/utility.h" | 22 #include "webrtc/modules/audio_coding/main/test/utility.h" |
23 #include "webrtc/system_wrappers/include/trace.h" | 23 #include "webrtc/system_wrappers/include/trace.h" |
24 #include "webrtc/test/testsupport/fileutils.h" | 24 #include "webrtc/test/testsupport/fileutils.h" |
25 | 25 |
26 namespace webrtc { | 26 namespace webrtc { |
27 | 27 |
28 TestPacketization::TestPacketization(RTPStream *rtpStream, uint16_t frequency) | 28 TestPacketization::TestPacketization(RTPStream *rtpStream, uint16_t frequency) |
29 : _rtpStream(rtpStream), | 29 : _rtpStream(rtpStream), |
30 _frequency(frequency), | 30 _frequency(frequency), |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 if (acm->SendCodec(&sendCodecInst) >= 0) { | 343 if (acm->SendCodec(&sendCodecInst) >= 0) { |
344 _sender.Run(); | 344 _sender.Run(); |
345 } | 345 } |
346 _sender.Teardown(); | 346 _sender.Teardown(); |
347 rtpFile.Close(); | 347 rtpFile.Close(); |
348 | 348 |
349 return fileName; | 349 return fileName; |
350 } | 350 } |
351 | 351 |
352 } // namespace webrtc | 352 } // namespace webrtc |
OLD | NEW |