Home
last modified time | relevance | path

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

/external/chromium_org/media/base/
Daudio_buffer.cc246 void AudioBuffer::TrimStart(int frames_to_trim) { in TrimStart() argument
247 CHECK_GE(frames_to_trim, 0); in TrimStart()
248 CHECK_LE(frames_to_trim, adjusted_frame_count_); in TrimStart()
251 adjusted_frame_count_ -= frames_to_trim; in TrimStart()
252 trim_start_ += frames_to_trim; in TrimStart()
260 void AudioBuffer::TrimEnd(int frames_to_trim) { in TrimEnd() argument
261 CHECK_GE(frames_to_trim, 0); in TrimEnd()
262 CHECK_LE(frames_to_trim, adjusted_frame_count_); in TrimEnd()
265 adjusted_frame_count_ -= frames_to_trim; in TrimEnd()
273 const int frames_to_trim = end - start; in TrimRange() local
[all …]
Daudio_splicer.cc27 static void AccurateTrimStart(int frames_to_trim, in AccurateTrimStart() argument
30 buffer->TrimStart(frames_to_trim); in AccurateTrimStart()
464 int frames_read = 0, frames_to_trim = 0; in CrossfadePostSplice() local
480 frames_to_trim = frames_to_read; in CrossfadePostSplice()
498 AccurateTrimStart(frames_to_trim, remainder, output_ts_helper); in CrossfadePostSplice()
Daudio_buffer.h80 void TrimStart(int frames_to_trim);
84 void TrimEnd(int frames_to_trim);