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

Unified Diff: webrtc/modules/audio_coding/neteq/decision_logic_normal.h

Issue 2411183003: Removed RTPHeader from NetEq's Packet struct. (Closed)
Patch Set: Fixed naming of payloadType and sequenceNumber. Updated comments. 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/neteq/decision_logic_normal.h
diff --git a/webrtc/modules/audio_coding/neteq/decision_logic_normal.h b/webrtc/modules/audio_coding/neteq/decision_logic_normal.h
index aa0edf3152a21aeed7167d97d62390991d73ec58..8665480546e5a2ca5f07fac514f3015a40cd8ca5 100644
--- a/webrtc/modules/audio_coding/neteq/decision_logic_normal.h
+++ b/webrtc/modules/audio_coding/neteq/decision_logic_normal.h
@@ -44,19 +44,10 @@ class DecisionLogicNormal : public DecisionLogic {
static const int kReinitAfterExpands = 100;
static const int kMaxWaitForPacket = 10;
- // Returns the operation that should be done next. |sync_buffer| and |expand|
- // are provided for reference. |decoder_frame_length| is the number of samples
- // obtained from the last decoded frame. If there is a packet available, the
- // packet header should be supplied in |packet_header|; otherwise it should
- // be NULL. The mode resulting form the last call to NetEqImpl::GetAudio is
- // supplied in |prev_mode|. If there is a DTMF event to play, |play_dtmf|
- // should be set to true. The output variable |reset_decoder| will be set to
- // true if a reset is required; otherwise it is left unchanged (i.e., it can
- // remain true if it was true before the call).
Operations GetDecisionSpecialized(const SyncBuffer& sync_buffer,
const Expand& expand,
size_t decoder_frame_length,
- const RTPHeader* packet_header,
+ const Packet* next_packet,
Modes prev_mode,
bool play_dtmf,
bool* reset_decoder,

Powered by Google App Engine
This is Rietveld 408576698