summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authoraluebs@webrtc.org <aluebs@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-07-11 11:40:48 +0000
committeraluebs@webrtc.org <aluebs@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-07-11 11:40:48 +0000
commitd20c29aa9f2259bc29a2919e39259b03bccbb9f5 (patch)
tree07fbfbdf3ef7b2cb7e9cb8db71bf7de5aa17e28d /modules
parenta301f1aefe8fb5f845fcb52815bf90f689250ce6 (diff)
downloadwebrtc-d20c29aa9f2259bc29a2919e39259b03bccbb9f5.tar.gz
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/webrtc@6661 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'modules')
-rw-r--r--modules/audio_processing/audio_buffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/audio_processing/audio_buffer.h b/modules/audio_processing/audio_buffer.h
index 2fab814a..db24e959 100644
--- a/modules/audio_processing/audio_buffer.h
+++ b/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);