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

Unified Diff: webrtc/modules/audio_coding/neteq/decision_logic.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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/neteq/decision_logic.h
diff --git a/webrtc/modules/audio_coding/neteq/decision_logic.h b/webrtc/modules/audio_coding/neteq/decision_logic.h
index 008655d1a2bb930d6f184ca394e2648b31c670fd..c495e8c602a42d594ad66df23d01d502e7b36fe0 100644
--- a/webrtc/modules/audio_coding/neteq/decision_logic.h
+++ b/webrtc/modules/audio_coding/neteq/decision_logic.h
@@ -26,7 +26,7 @@ class DelayManager;
class Expand;
class PacketBuffer;
class SyncBuffer;
-struct RTPHeader;
+struct Packet;
// This is the base class for the decision tree implementations. Derived classes
// must implement the method GetDecisionSpecialized().
@@ -78,7 +78,7 @@ class DecisionLogic {
Operations GetDecision(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,
size_t generated_noise_samples,
@@ -135,7 +135,7 @@ class DecisionLogic {
virtual 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