OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 int last_audio_codec_id() const; // TODO(turajs): can be inline. | 238 int last_audio_codec_id() const; // TODO(turajs): can be inline. |
239 | 239 |
240 // | 240 // |
241 // Get the audio codec associated with the last non-CNG/non-DTMF received | 241 // Get the audio codec associated with the last non-CNG/non-DTMF received |
242 // payload. If no non-CNG/non-DTMF packet is received -1 is returned, | 242 // payload. If no non-CNG/non-DTMF packet is received -1 is returned, |
243 // otherwise return 0. | 243 // otherwise return 0. |
244 // | 244 // |
245 int LastAudioCodec(CodecInst* codec) const; | 245 int LastAudioCodec(CodecInst* codec) const; |
246 | 246 |
247 // | 247 // |
248 // Return payload type of RED if it is registered, otherwise return -1; | |
249 // | |
250 int RedPayloadType() const; | |
251 | |
252 // | |
253 // Get a decoder given its registered payload-type. | 248 // Get a decoder given its registered payload-type. |
254 // | 249 // |
255 // Input: | 250 // Input: |
256 // -payload_type : the payload-type of the codec to be retrieved. | 251 // -payload_type : the payload-type of the codec to be retrieved. |
257 // | 252 // |
258 // Output: | 253 // Output: |
259 // -codec : codec associated with the given payload-type. | 254 // -codec : codec associated with the given payload-type. |
260 // | 255 // |
261 // Return value : 0 if succeeded. | 256 // Return value : 0 if succeeded. |
262 // -1 if failed, e.g. given payload-type is not | 257 // -1 if failed, e.g. given payload-type is not |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 // initial delay is set. | 334 // initial delay is set. |
340 rtc::scoped_ptr<InitialDelayManager::SyncStream> missing_packets_sync_stream_; | 335 rtc::scoped_ptr<InitialDelayManager::SyncStream> missing_packets_sync_stream_; |
341 rtc::scoped_ptr<InitialDelayManager::SyncStream> late_packets_sync_stream_; | 336 rtc::scoped_ptr<InitialDelayManager::SyncStream> late_packets_sync_stream_; |
342 }; | 337 }; |
343 | 338 |
344 } // namespace acm2 | 339 } // namespace acm2 |
345 | 340 |
346 } // namespace webrtc | 341 } // namespace webrtc |
347 | 342 |
348 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_ACM2_ACM_RECEIVER_H_ | 343 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_ACM2_ACM_RECEIVER_H_ |
OLD | NEW |