Home
last modified time | relevance | path

Searched refs:write_pos_ (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/media/base/
Daudio_block_fifo.cc19 write_pos_(0) { in AudioBlockFifo()
43 std::min(block_frames_ - write_pos_, frames_to_push); in Push()
47 source_ptr, write_pos_, push_frames, bytes_per_sample); in Push()
48 write_pos_ = (write_pos_ + push_frames) % block_frames_; in Push()
49 if (!write_pos_) { in Push()
71 write_pos_ = 0; in Clear()
78 return available_blocks_ * block_frames_ + write_pos_; in GetAvailableFrames()
83 (audio_blocks_.size() - available_blocks_) * block_frames_ - write_pos_; in GetUnfilledFrames()
Daudio_fifo.cc46 write_pos_(0) {} in AudioFifo()
67 GetSizes(write_pos_, max_frames(), source_size, &append_size, &wrap_size); in Push()
75 memcpy(&dest[write_pos_], &src[0], append_size * sizeof(src[0])); in Push()
84 write_pos_ = UpdatePos(write_pos_, source_size, max_frames()); in Push()
130 write_pos_ = 0; in Clear()
Daudio_fifo.h59 int write_pos_; variable
Daudio_block_fifo.h72 int write_pos_; variable
/external/chromium_org/third_party/webrtc/modules/audio_device/android/
Dsingle_rw_fifo.cc57 write_pos_(0) { in SingleRwFifo()
77 queue_[write_pos_] = mem; in Push()
81 write_pos_ = UpdatePos(write_pos_, capacity()); in Push()
Dsingle_rw_fifo.h44 int write_pos_; variable