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

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

Issue 1172163004: Reformat existing code. There should be no functional effects. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 6 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_processing/audio_processing_impl.h
diff --git a/webrtc/modules/audio_processing/audio_processing_impl.h b/webrtc/modules/audio_processing/audio_processing_impl.h
index dbc1f25db940bb47e74d38c16c8f43ecfa45a0b9..895294dc60bdc8bd0f0452a7b9e47a20e9c3c301 100644
--- a/webrtc/modules/audio_processing/audio_processing_impl.h
+++ b/webrtc/modules/audio_processing/audio_processing_impl.h
@@ -49,9 +49,7 @@ class Event;
class AudioRate {
public:
- explicit AudioRate(int sample_rate_hz)
- : rate_(sample_rate_hz),
- samples_per_channel_(AudioProcessing::kChunkSizeMs * rate_ / 1000) {}
+ explicit AudioRate(int sample_rate_hz) { set(sample_rate_hz); }
virtual ~AudioRate() {}
void set(int rate) {

Powered by Google App Engine
This is Rietveld 408576698