Lines Matching refs:samples_
33 : initialized_(false), samples_(NULL), in RingBuffer()
38 delete[] samples_; in ~RingBuffer()
43 delete[] samples_; in Reset()
44 samples_ = new float[size_ * num_channels_]; in Reset()
45 memset(samples_, 0, in Reset()
46 size_ * num_channels_ * sizeof(samples_[0])); in Reset()
52 temp_read_buffer_size_ * num_channels_ * sizeof(samples_[0])); in Reset()
87 memcpy(samples_ + head_ * num_channels_, samples, in Write()
92 memcpy(samples_ + head_ * num_channels_, samples, in Write()
95 memcpy(samples_, samples + overhead * num_channels_, in Write()
104 memcpy(destination, samples_ + pos * num_channels_, in Copy()
108 memcpy(destination, samples_ + pos * num_channels_, in Copy()
111 memcpy(destination + wrapped * num_channels_, samples_, in Copy()
119 return samples_ + pos * num_channels_; in GetPointer()
139 memcpy(samples_ + (pos * num_channels_), source, in MergeBack()
143 memcpy(samples_ + (pos * num_channels_), source, in MergeBack()
146 memcpy(samples_, source + (wrapped * num_channels_), in MergeBack()