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

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

Issue 2355483003: Voe::Channel: Turned GetPlayoutFrequency into GetRtpTimestampRateHz. (Closed)
Patch Set: Implemented GetPayloadFrequency more properly and renamed it to GetRtpTimestampRateHz. 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
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 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 // -curr_receive_codec : parameters of the codec associated with the last 535 // -curr_receive_codec : parameters of the codec associated with the last
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 virtual rtc::Optional<SdpAudioFormat> ReceiveFormat() const = 0;
hlundin-webrtc 2016/10/07 12:32:19 A bit of a description wouldn't go amiss. In parti
ossu 2016/10/07 12:41:32 That's right! I remember thinking: "I'll comment t
kwiberg-webrtc 2016/10/07 12:53:52 Then you're all set! It's the thought that counts.
546
545 /////////////////////////////////////////////////////////////////////////// 547 ///////////////////////////////////////////////////////////////////////////
546 // int32_t IncomingPacket() 548 // int32_t IncomingPacket()
547 // Call this function to insert a parsed RTP packet into ACM. 549 // Call this function to insert a parsed RTP packet into ACM.
548 // 550 //
549 // Inputs: 551 // Inputs:
550 // -incoming_payload : received payload. 552 // -incoming_payload : received payload.
551 // -payload_len_bytes : the length of payload in bytes. 553 // -payload_len_bytes : the length of payload in bytes.
552 // -rtp_info : the relevant information retrieved from RTP 554 // -rtp_info : the relevant information retrieved from RTP
553 // header. 555 // header.
554 // 556 //
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 virtual std::vector<uint16_t> GetNackList( 796 virtual std::vector<uint16_t> GetNackList(
795 int64_t round_trip_time_ms) const = 0; 797 int64_t round_trip_time_ms) const = 0;
796 798
797 virtual void GetDecodingCallStatistics( 799 virtual void GetDecodingCallStatistics(
798 AudioDecodingCallStats* call_stats) const = 0; 800 AudioDecodingCallStats* call_stats) const = 0;
799 }; 801 };
800 802
801 } // namespace webrtc 803 } // namespace webrtc
802 804
803 #endif // WEBRTC_MODULES_AUDIO_CODING_INCLUDE_AUDIO_CODING_MODULE_H_ 805 #endif // WEBRTC_MODULES_AUDIO_CODING_INCLUDE_AUDIO_CODING_MODULE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698