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

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

Completed in 56 milliseconds