Searched refs:frames_to_trim (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/media/base/
H A Daudio_buffer.cc246 void AudioBuffer::TrimStart(int frames_to_trim) { argument
247 CHECK_GE(frames_to_trim, 0);
248 CHECK_LE(frames_to_trim, adjusted_frame_count_);
251 adjusted_frame_count_ -= frames_to_trim;
252 trim_start_ += frames_to_trim;
260 void AudioBuffer::TrimEnd(int frames_to_trim) { argument
261 CHECK_GE(frames_to_trim, 0);
262 CHECK_LE(frames_to_trim, adjusted_frame_count_);
265 adjusted_frame_count_ -= frames_to_trim;
273 const int frames_to_trim local
[all...]
H A Daudio_buffer.h76 // Trim an AudioBuffer by removing |frames_to_trim| frames from the start.
80 void TrimStart(int frames_to_trim);
82 // Trim an AudioBuffer by removing |frames_to_trim| frames from the end.
84 void TrimEnd(int frames_to_trim);
H A Daudio_splicer.cc27 static void AccurateTrimStart(int frames_to_trim, argument
30 buffer->TrimStart(frames_to_trim);
464 int frames_read = 0, frames_to_trim = 0; local
480 frames_to_trim = frames_to_read;
498 AccurateTrimStart(frames_to_trim, remainder, output_ts_helper);

Completed in 1809 milliseconds