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

Side by Side Diff: webrtc/modules/audio_coding/neteq/decision_logic_fax.h

Issue 2411183003: Removed RTPHeader from NetEq's Packet struct. (Closed)
Patch Set: 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) 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 25 matching lines...) Expand all
36 decoder_database, 36 decoder_database,
37 packet_buffer, 37 packet_buffer,
38 delay_manager, 38 delay_manager,
39 buffer_level_filter, 39 buffer_level_filter,
40 tick_timer) {} 40 tick_timer) {}
41 41
42 protected: 42 protected:
43 // Returns the operation that should be done next. |sync_buffer| and |expand| 43 // Returns the operation that should be done next. |sync_buffer| and |expand|
44 // are provided for reference. |decoder_frame_length| is the number of samples 44 // are provided for reference. |decoder_frame_length| is the number of samples
45 // obtained from the last decoded frame. If there is a packet available, the 45 // obtained from the last decoded frame. If there is a packet available, the
46 // packet header should be supplied in |packet_header|; otherwise it should 46 // packet header should be supplied in |packet_header|; otherwise it should
hlundin-webrtc 2016/10/12 20:39:57 Fix, or if the comment is identical to the one in
ossu 2016/10/12 21:46:02 Done.
47 // be NULL. The mode resulting form the last call to NetEqImpl::GetAudio is 47 // be NULL. The mode resulting form the last call to NetEqImpl::GetAudio is
48 // supplied in |prev_mode|. If there is a DTMF event to play, |play_dtmf| 48 // supplied in |prev_mode|. If there is a DTMF event to play, |play_dtmf|
49 // should be set to true. The output variable |reset_decoder| will be set to 49 // should be set to true. The output variable |reset_decoder| will be set to
50 // true if a reset is required; otherwise it is left unchanged (i.e., it can 50 // true if a reset is required; otherwise it is left unchanged (i.e., it can
51 // remain true if it was true before the call). 51 // remain true if it was true before the call).
52 Operations GetDecisionSpecialized(const SyncBuffer& sync_buffer, 52 Operations GetDecisionSpecialized(const SyncBuffer& sync_buffer,
53 const Expand& expand, 53 const Expand& expand,
54 size_t decoder_frame_length, 54 size_t decoder_frame_length,
55 const RTPHeader* packet_header, 55 const Packet* next_packet,
56 Modes prev_mode, 56 Modes prev_mode,
57 bool play_dtmf, 57 bool play_dtmf,
58 bool* reset_decoder, 58 bool* reset_decoder,
59 size_t generated_noise_samples) override; 59 size_t generated_noise_samples) override;
60 60
61 private: 61 private:
62 RTC_DISALLOW_COPY_AND_ASSIGN(DecisionLogicFax); 62 RTC_DISALLOW_COPY_AND_ASSIGN(DecisionLogicFax);
63 }; 63 };
64 64
65 } // namespace webrtc 65 } // namespace webrtc
66 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_DECISION_LOGIC_FAX_H_ 66 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_DECISION_LOGIC_FAX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698