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 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 kComfortNoiseErrorCode, | 119 kComfortNoiseErrorCode, |
120 kDecoderErrorCode, | 120 kDecoderErrorCode, |
121 kOtherDecoderError, | 121 kOtherDecoderError, |
122 kInvalidOperation, | 122 kInvalidOperation, |
123 kDtmfParameterError, | 123 kDtmfParameterError, |
124 kDtmfParsingError, | 124 kDtmfParsingError, |
125 kDtmfInsertError, | 125 kDtmfInsertError, |
126 kStereoNotSupported, | 126 kStereoNotSupported, |
127 kSampleUnderrun, | 127 kSampleUnderrun, |
128 kDecodedTooMuch, | 128 kDecodedTooMuch, |
129 kFrameSplitError, | |
130 kRedundancySplitError, | 129 kRedundancySplitError, |
131 kPacketBufferCorruption | 130 kPacketBufferCorruption |
132 }; | 131 }; |
133 | 132 |
134 // Creates a new NetEq object, with parameters set in |config|. The |config| | 133 // Creates a new NetEq object, with parameters set in |config|. The |config| |
135 // object will only have to be valid for the duration of the call to this | 134 // object will only have to be valid for the duration of the call to this |
136 // method. | 135 // method. |
137 static NetEq* Create( | 136 static NetEq* Create( |
138 const NetEq::Config& config, | 137 const NetEq::Config& config, |
139 const rtc::scoped_refptr<AudioDecoderFactory>& decoder_factory); | 138 const rtc::scoped_refptr<AudioDecoderFactory>& decoder_factory); |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 | 287 |
289 protected: | 288 protected: |
290 NetEq() {} | 289 NetEq() {} |
291 | 290 |
292 private: | 291 private: |
293 RTC_DISALLOW_COPY_AND_ASSIGN(NetEq); | 292 RTC_DISALLOW_COPY_AND_ASSIGN(NetEq); |
294 }; | 293 }; |
295 | 294 |
296 } // namespace webrtc | 295 } // namespace webrtc |
297 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_INCLUDE_NETEQ_H_ | 296 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_INCLUDE_NETEQ_H_ |
OLD | NEW |