Searched defs:num_frames (Results 1 - 2 of 2) sorted by relevance
/frameworks/ex/variablespeed/jni/ |
H A D | ring_buffer.cc | 82 void RingBuffer::Write(const float* samples, int num_frames) { argument 83 if (!num_frames) { 86 if (head_ + num_frames <= size_) { 88 num_frames * num_channels_ * sizeof(samples[0])); 89 head_ += num_frames; 94 head_ = num_frames - overhead; 98 head_logical_ += num_frames; 101 void RingBuffer::Copy(int reader, float* destination, int num_frames) const { 103 if (pos + num_frames <= size_) { 105 num_channels_ * num_frames * sizeo 116 GetPointer(int reader, int num_frames) argument 132 MergeBack(int reader, const float* source, int num_frames) argument [all...] |
H A D | sola_time_scaler.cc | 33 int num_frames) { 37 num_frames *= num_channels_; 38 while (num_frames-- > 0) { 50 virtual int Correlate(const float*, const float*, int num_frames) { argument 51 return num_frames * num_channels_; 212 int SolaTimeScaler::InjectSamples(float* buffer, int num_frames) { argument 216 num_frames = min(input_limit(), num_frames); 217 if (!num_frames) { 222 input_buffer_->Write(buffer, num_frames); 32 Correlate(const float* buffer1, const float* buffer2, int num_frames) argument 228 RetrieveSamples(float* buffer, int num_frames) argument [all...] |
Completed in 46 milliseconds