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

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

Issue 1948483002: Using ring buffer for AudioVector in NetEq. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: refinements Created 4 years, 7 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/dsp_helper.h
diff --git a/webrtc/modules/audio_coding/neteq/dsp_helper.h b/webrtc/modules/audio_coding/neteq/dsp_helper.h
index 269c2eb0f2557e317c715f21c8298d59b499d947..dd5972beb4c2ace9508e890eb57e440afac7829b 100644
--- a/webrtc/modules/audio_coding/neteq/dsp_helper.h
+++ b/webrtc/modules/audio_coding/neteq/dsp_helper.h
@@ -67,6 +67,14 @@ class DspHelper {
// Same as above, but processes |length| samples from |signal|, starting at
// |start_index|.
+ static int RampSignal(AudioVector* signal,
+ size_t start_index,
+ size_t length,
+ int factor,
+ int increment);
+
+ // Same as above, but processes |length| samples from |signal|, starting at
hlundin-webrtc 2016/05/10 07:53:19 "Same as above, but for an AudioMultiVector."
minyue-webrtc 2016/05/10 12:48:07 Done.
+ // |start_index|.
static int RampSignal(AudioMultiVector* signal,
size_t start_index,
size_t length,

Powered by Google App Engine
This is Rietveld 408576698