diff options
author | Peter Kasting <pkasting@google.com> | 2016-01-12 16:26:35 -0800 |
---|---|---|
committer | Peter Kasting <pkasting@google.com> | 2016-01-13 00:26:55 +0000 |
commit | 6955870806624479723addfae6dcf5d13968796c (patch) | |
tree | af7b10a4564c7e49d29fbb4ee37767abaded7e32 /webrtc/modules/audio_processing/audio_processing_impl.h | |
parent | 92e677a1f8d24dfa0031d307c4a7d8e530cd4eb4 (diff) | |
download | webrtc-6955870806624479723addfae6dcf5d13968796c.tar.gz |
Convert channel counts to size_t.
IIRC, this was originally requested by ajm during review of the other size_t conversions I did over the past year, and I agreed it made sense, but wanted to do it separately since those changes were already gargantuan.
BUG=chromium:81439
TEST=none
R=henrik.lundin@webrtc.org, henrika@webrtc.org, kjellander@webrtc.org, minyue@webrtc.org, perkj@webrtc.org, solenberg@webrtc.org, stefan@webrtc.org, tina.legrand@webrtc.org
Review URL: https://codereview.webrtc.org/1316523002 .
Cr-Commit-Position: refs/heads/master@{#11229}
Diffstat (limited to 'webrtc/modules/audio_processing/audio_processing_impl.h')
-rw-r--r-- | webrtc/modules/audio_processing/audio_processing_impl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webrtc/modules/audio_processing/audio_processing_impl.h b/webrtc/modules/audio_processing/audio_processing_impl.h index 6cb9e8cadc..b310896903 100644 --- a/webrtc/modules/audio_processing/audio_processing_impl.h +++ b/webrtc/modules/audio_processing/audio_processing_impl.h @@ -101,10 +101,10 @@ class AudioProcessingImpl : public AudioProcessing { // Hence there is no need for locks in these. int proc_sample_rate_hz() const override; int proc_split_sample_rate_hz() const override; - int num_input_channels() const override; - int num_proc_channels() const override; - int num_output_channels() const override; - int num_reverse_channels() const override; + size_t num_input_channels() const override; + size_t num_proc_channels() const override; + size_t num_output_channels() const override; + size_t num_reverse_channels() const override; int stream_delay_ms() const override; bool was_stream_delay_set() const override EXCLUSIVE_LOCKS_REQUIRED(crit_capture_); |