| 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_NETEQ_RED_PAYLOAD_SPLITTER_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_RED_PAYLOAD_SPLITTER_H_ |
| 12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_RED_PAYLOAD_SPLITTER_H_ | 12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_RED_PAYLOAD_SPLITTER_H_ |
| 13 | 13 |
| 14 #include "webrtc/base/constructormagic.h" |
| 14 #include "webrtc/modules/audio_coding/neteq/packet.h" | 15 #include "webrtc/modules/audio_coding/neteq/packet.h" |
| 15 #include "webrtc/rtc_base/constructormagic.h" | |
| 16 | 16 |
| 17 namespace webrtc { | 17 namespace webrtc { |
| 18 | 18 |
| 19 // Forward declarations. | 19 // Forward declarations. |
| 20 class DecoderDatabase; | 20 class DecoderDatabase; |
| 21 | 21 |
| 22 // This class handles splitting of RED payloads into smaller parts. | 22 // This class handles splitting of RED payloads into smaller parts. |
| 23 // Codec-specific packet splitting can be performed by | 23 // Codec-specific packet splitting can be performed by |
| 24 // AudioDecoder::ParsePayload. | 24 // AudioDecoder::ParsePayload. |
| 25 class RedPayloadSplitter { | 25 class RedPayloadSplitter { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 42 // the number of discarded packets. | 42 // the number of discarded packets. |
| 43 virtual int CheckRedPayloads(PacketList* packet_list, | 43 virtual int CheckRedPayloads(PacketList* packet_list, |
| 44 const DecoderDatabase& decoder_database); | 44 const DecoderDatabase& decoder_database); |
| 45 | 45 |
| 46 private: | 46 private: |
| 47 RTC_DISALLOW_COPY_AND_ASSIGN(RedPayloadSplitter); | 47 RTC_DISALLOW_COPY_AND_ASSIGN(RedPayloadSplitter); |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace webrtc | 50 } // namespace webrtc |
| 51 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_RED_PAYLOAD_SPLITTER_H_ | 51 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_RED_PAYLOAD_SPLITTER_H_ |
| OLD | NEW |