summaryrefslogtreecommitdiff
path: root/common_audio
diff options
context:
space:
mode:
authoraluebs@webrtc.org <aluebs@webrtc.org>2014-09-02 07:51:51 +0000
committeraluebs@webrtc.org <aluebs@webrtc.org>2014-09-02 07:51:51 +0000
commit02b30eb3e27bd4db9caa02cdf4001d8f42417533 (patch)
tree6567ca1b4a8735d0e0a0e09c54a81daf14fba9d6 /common_audio
parent457cef96c7637b61fcdc877a9760c54f343425eb (diff)
downloadwebrtc-02b30eb3e27bd4db9caa02cdf4001d8f42417533.tar.gz
Unpacking aecdumps generates wav files
BUG=webrtc:3359 R=andrew@webrtc.org, bjornv@webrtc.org, kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/14239004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7018 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'common_audio')
-rw-r--r--common_audio/wav_writer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common_audio/wav_writer.h b/common_audio/wav_writer.h
index 45bcbac5..09667279 100644
--- a/common_audio/wav_writer.h
+++ b/common_audio/wav_writer.h
@@ -33,13 +33,13 @@ class WavFile {
// [-32768,32767], and there must be the previously specified number of
// interleaved channels.
void WriteSamples(const float* samples, size_t num_samples);
+ void WriteSamples(const int16_t* samples, size_t num_samples);
int sample_rate() const { return sample_rate_; }
int num_channels() const { return num_channels_; }
uint32_t num_samples() const { return num_samples_; }
private:
- void WriteSamples(const int16_t* samples, size_t num_samples);
void Close();
const int sample_rate_;
const int num_channels_;