| 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 #ifndef WEBRTC_MODULES_AUDIO_CODING_TEST_TESTALLCODECS_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_TEST_TESTALLCODECS_H_ |
| 12 #define WEBRTC_MODULES_AUDIO_CODING_TEST_TESTALLCODECS_H_ | 12 #define WEBRTC_MODULES_AUDIO_CODING_TEST_TESTALLCODECS_H_ |
| 13 | 13 |
| 14 #include <memory> | 14 #include <memory> |
| 15 | 15 |
| 16 #include "webrtc/modules/audio_coding/test/ACMTest.h" | 16 #include "webrtc/modules/audio_coding/test/ACMTest.h" |
| 17 #include "webrtc/modules/audio_coding/test/Channel.h" | 17 #include "webrtc/modules/audio_coding/test/Channel.h" |
| 18 #include "webrtc/modules/audio_coding/test/PCMFile.h" | 18 #include "webrtc/modules/audio_coding/test/PCMFile.h" |
| 19 #include "webrtc/typedefs.h" | 19 #include "webrtc/typedefs.h" |
| 20 | 20 |
| 21 namespace webrtc { | 21 namespace webrtc { |
| 22 | 22 |
| 23 class Config; | |
| 24 | |
| 25 class TestPack : public AudioPacketizationCallback { | 23 class TestPack : public AudioPacketizationCallback { |
| 26 public: | 24 public: |
| 27 TestPack(); | 25 TestPack(); |
| 28 ~TestPack(); | 26 ~TestPack(); |
| 29 | 27 |
| 30 void RegisterReceiverACM(AudioCodingModule* acm); | 28 void RegisterReceiverACM(AudioCodingModule* acm); |
| 31 | 29 |
| 32 int32_t SendData(FrameType frame_type, | 30 int32_t SendData(FrameType frame_type, |
| 33 uint8_t payload_type, | 31 uint8_t payload_type, |
| 34 uint32_t timestamp, | 32 uint32_t timestamp, |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 PCMFile infile_a_; | 74 PCMFile infile_a_; |
| 77 PCMFile outfile_b_; | 75 PCMFile outfile_b_; |
| 78 int test_count_; | 76 int test_count_; |
| 79 int packet_size_samples_; | 77 int packet_size_samples_; |
| 80 size_t packet_size_bytes_; | 78 size_t packet_size_bytes_; |
| 81 }; | 79 }; |
| 82 | 80 |
| 83 } // namespace webrtc | 81 } // namespace webrtc |
| 84 | 82 |
| 85 #endif // WEBRTC_MODULES_AUDIO_CODING_TEST_TESTALLCODECS_H_ | 83 #endif // WEBRTC_MODULES_AUDIO_CODING_TEST_TESTALLCODECS_H_ |
| OLD | NEW |