Lines Matching refs:num_channels
41 ChannelBuffer(int samples_per_channel, int num_channels)
42 : data_(new T[samples_per_channel * num_channels]),
43 channels_(new T*[num_channels]),
45 num_channels_(num_channels) {
49 ChannelBuffer(const T* data, int samples_per_channel, int num_channels)
50 : data_(new T[samples_per_channel * num_channels]),
51 channels_(new T*[num_channels]),
53 num_channels_(num_channels) {
59 int num_channels)
60 : data_(new T[samples_per_channel * num_channels]),
61 channels_(new T*[num_channels]),
63 num_channels_(num_channels) {
93 int num_channels() const { return num_channels_; }