Index: webrtc/modules/audio_processing/test/test_utils.cc |
diff --git a/webrtc/modules/audio_processing/test/test_utils.cc b/webrtc/modules/audio_processing/test/test_utils.cc |
index fe33ec0351ff3b0a6c5f5648afe877cae21252ad..880d0e0e580735d4f4a46144857df4c0923ebde7 100644 |
--- a/webrtc/modules/audio_processing/test/test_utils.cc |
+++ b/webrtc/modules/audio_processing/test/test_utils.cc |
@@ -44,8 +44,8 @@ void WriteIntData(const int16_t* data, |
} |
void WriteFloatData(const float* const* data, |
- int samples_per_channel, |
- int num_channels, |
+ size_t samples_per_channel, |
+ size_t num_channels, |
WavWriter* wav_file, |
RawFile* raw_file) { |
size_t length = num_channels * samples_per_channel; |
@@ -85,7 +85,7 @@ void SetFrameSampleRate(AudioFrame* frame, |
sample_rate_hz / 1000; |
} |
-AudioProcessing::ChannelLayout LayoutFromChannels(int num_channels) { |
+AudioProcessing::ChannelLayout LayoutFromChannels(size_t num_channels) { |
switch (num_channels) { |
case 1: |
return AudioProcessing::kMono; |