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
This commit is contained in:
parent
d212ffcfc6
commit
fb2e7c22a0
@ -56,6 +56,7 @@ class AudioBuffer {
|
|||||||
int samples_per_split_channel() const;
|
int samples_per_split_channel() const;
|
||||||
int samples_per_keyboard_channel() const;
|
int samples_per_keyboard_channel() const;
|
||||||
|
|
||||||
|
// It can be assumed that channels are stored contiguously.
|
||||||
int16_t* data(int channel);
|
int16_t* data(int channel);
|
||||||
const int16_t* data(int channel) const;
|
const int16_t* data(int channel) const;
|
||||||
int16_t* low_pass_split_data(int channel);
|
int16_t* low_pass_split_data(int channel);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user