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

Side by Side Diff: webrtc/modules/audio_coding/include/audio_coding_module.h

Issue 2355483003: Voe::Channel: Turned GetPlayoutFrequency into GetRtpTimestampRateHz. (Closed)
Patch Set: Handle zero clockrate, make better comments, fix bad spel Created 4 years, 2 months 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 | « webrtc/modules/audio_coding/acm2/audio_coding_module.cc ('k') | webrtc/voice_engine/channel.h » ('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) 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 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 // received payload, c.f. common_types.h for 536 // received payload, c.f. common_types.h for
537 // the definition of CodecInst. 537 // the definition of CodecInst.
538 // 538 //
539 // Return value: 539 // Return value:
540 // -1 if failed to retrieve the codec, 540 // -1 if failed to retrieve the codec,
541 // 0 if the codec is successfully retrieved. 541 // 0 if the codec is successfully retrieved.
542 // 542 //
543 virtual int32_t ReceiveCodec(CodecInst* curr_receive_codec) const = 0; 543 virtual int32_t ReceiveCodec(CodecInst* curr_receive_codec) const = 0;
544 544
545 /////////////////////////////////////////////////////////////////////////// 545 ///////////////////////////////////////////////////////////////////////////
546 // rtc::Optional<SdpAudioFormat> ReceiveFormat()
547 // Get the format associated with last received payload.
548 //
549 // Return value:
550 // An SdpAudioFormat describing the format associated with the last
551 // received payload.
552 // An empty Optional if no payload has yet been received.
553 //
554 virtual rtc::Optional<SdpAudioFormat> ReceiveFormat() const = 0;
555
556 ///////////////////////////////////////////////////////////////////////////
546 // int32_t IncomingPacket() 557 // int32_t IncomingPacket()
547 // Call this function to insert a parsed RTP packet into ACM. 558 // Call this function to insert a parsed RTP packet into ACM.
548 // 559 //
549 // Inputs: 560 // Inputs:
550 // -incoming_payload : received payload. 561 // -incoming_payload : received payload.
551 // -payload_len_bytes : the length of payload in bytes. 562 // -payload_len_bytes : the length of payload in bytes.
552 // -rtp_info : the relevant information retrieved from RTP 563 // -rtp_info : the relevant information retrieved from RTP
553 // header. 564 // header.
554 // 565 //
555 // Return value: 566 // Return value:
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 virtual std::vector<uint16_t> GetNackList( 805 virtual std::vector<uint16_t> GetNackList(
795 int64_t round_trip_time_ms) const = 0; 806 int64_t round_trip_time_ms) const = 0;
796 807
797 virtual void GetDecodingCallStatistics( 808 virtual void GetDecodingCallStatistics(
798 AudioDecodingCallStats* call_stats) const = 0; 809 AudioDecodingCallStats* call_stats) const = 0;
799 }; 810 };
800 811
801 } // namespace webrtc 812 } // namespace webrtc
802 813
803 #endif // WEBRTC_MODULES_AUDIO_CODING_INCLUDE_AUDIO_CODING_MODULE_H_ 814 #endif // WEBRTC_MODULES_AUDIO_CODING_INCLUDE_AUDIO_CODING_MODULE_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/acm2/audio_coding_module.cc ('k') | webrtc/voice_engine/channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698