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

Unified Diff: webrtc/modules/audio_processing/gain_control_impl.h

Issue 1454683002: Fixed the render queue item size preallocation and verification, moved constant declarations, remov… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Merge with latest changes in master Created 5 years, 1 month 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_processing/gain_control_impl.h
diff --git a/webrtc/modules/audio_processing/gain_control_impl.h b/webrtc/modules/audio_processing/gain_control_impl.h
index b766ca371407ec0ef943958778073d5d661670cc..25b16c0f68ec6d92a29935bcc8bc2dc4fffb2b4d 100644
--- a/webrtc/modules/audio_processing/gain_control_impl.h
+++ b/webrtc/modules/audio_processing/gain_control_impl.h
@@ -47,12 +47,6 @@ class GainControlImpl : public GainControl,
void ReadQueuedRenderData();
private:
- static const size_t kAllowedValuesOfSamplesPerFrame1 = 80;
- static const size_t kAllowedValuesOfSamplesPerFrame2 = 160;
- // TODO(peah): Decrease this once we properly handle hugely unbalanced
- // reverse and forward call numbers.
- static const size_t kMaxNumFramesToBuffer = 100;
-
// GainControl implementation.
int Enable(bool enable) override;
int set_stream_analog_level(int level) override;
« no previous file with comments | « webrtc/modules/audio_processing/echo_control_mobile_impl.cc ('k') | webrtc/modules/audio_processing/gain_control_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698