Home
last modified time | relevance | path

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

/frameworks/ex/variablespeed/jni/
Dring_buffer.cc58 head_ = 0; in Reset()
86 if (head_ + num_frames <= size_) { in Write()
87 memcpy(samples_ + head_ * num_channels_, samples, in Write()
89 head_ += num_frames; in Write()
91 int overhead = size_ - head_; in Write()
92 memcpy(samples_ + head_ * num_channels_, samples, in Write()
94 head_ = num_frames - overhead; in Write()
96 num_channels_ * head_ * sizeof(samples[0])); in Write()
Dring_buffer.h107 int head_; variable