From fb2e7c22a0c3a7b45ce92e607127f66ff08b6a01 Mon Sep 17 00:00:00 2001 From: "aluebs@webrtc.org" Date: Fri, 11 Jul 2014 11:40:48 +0000 Subject: [PATCH] Document that channels are stored contiguously in AudioBuffer R=andrew@webrtc.org, kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/20909004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6661 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/audio_processing/audio_buffer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/webrtc/modules/audio_processing/audio_buffer.h b/webrtc/modules/audio_processing/audio_buffer.h index 2fab814a0f..db24e959f7 100644 --- a/webrtc/modules/audio_processing/audio_buffer.h +++ b/webrtc/modules/audio_processing/audio_buffer.h @@ -56,6 +56,7 @@ class AudioBuffer { int samples_per_split_channel() const; int samples_per_keyboard_channel() const; + // It can be assumed that channels are stored contiguously. int16_t* data(int channel); const int16_t* data(int channel) const; int16_t* low_pass_split_data(int channel);