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

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

Issue 2425223002: NetEq now works with packets as values, rather than pointers. (Closed)
Patch Set: Compare packets better in test. One more const. 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
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/neteq/comfort_noise.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/neteq/comfort_noise.h
diff --git a/webrtc/modules/audio_coding/neteq/comfort_noise.h b/webrtc/modules/audio_coding/neteq/comfort_noise.h
index f877bf63efb05e4bc32ba9cca637ce645abb8a8c..74767847913559b1a5dfe1b376e3313aa61caca6 100644
--- a/webrtc/modules/audio_coding/neteq/comfort_noise.h
+++ b/webrtc/modules/audio_coding/neteq/comfort_noise.h
@@ -45,8 +45,7 @@ class ComfortNoise {
void Reset();
// Update the comfort noise generator with the parameters in |packet|.
- // Will delete the packet.
- int UpdateParameters(Packet* packet);
+ int UpdateParameters(const Packet& packet);
// Generates |requested_length| samples of comfort noise and writes to
// |output|. If this is the first in call after Reset (or first after creating
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/neteq/comfort_noise.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698