Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(550)

Side by Side Diff: webrtc/modules/audio_coding/main/acm2/acm_receiver.h

Issue 1415313007: Remove unused method AcmReceiver:RedPayloadType (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@acm-recv-vad
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/main/acm2/acm_receiver.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/main/acm2/acm_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698