Home
last modified time | relevance | path

Searched refs:samples_ (Results 1 – 2 of 2) sorted by relevance

/frameworks/ex/variablespeed/jni/
Dring_buffer.cc33 : 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()
[all …]
Dring_buffer.h101 float* samples_; variable