Index: webrtc/common_audio/wav_file.cc |
diff --git a/webrtc/common_audio/wav_file.cc b/webrtc/common_audio/wav_file.cc |
index 995043461a18a692745ce747dab7afa4c9a8d9cf..a0c792c54a6fab246dd66afca5af860cdb53a7f8 100644 |
--- a/webrtc/common_audio/wav_file.cc |
+++ b/webrtc/common_audio/wav_file.cc |
@@ -123,11 +123,6 @@ void WavWriter::WriteSamples(const int16_t* samples, size_t num_samples) { |
num_samples_ += static_cast<uint32_t>(written); |
CHECK(written <= std::numeric_limits<uint32_t>::max() || |
num_samples_ >= written); // detect uint32_t overflow |
- CHECK(CheckWavParameters(num_channels_, |
- sample_rate_, |
- kWavFormat, |
- kBytesPerSample, |
- num_samples_)); |
} |
void WavWriter::WriteSamples(const float* samples, size_t num_samples) { |