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) { |