Searched refs:frames_to_trim (Results 1 – 3 of 3) sorted by relevance
246 void AudioBuffer::TrimStart(int frames_to_trim) { in TrimStart() argument247 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() argument261 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 …]
27 static void AccurateTrimStart(int frames_to_trim, in AccurateTrimStart() argument30 buffer->TrimStart(frames_to_trim); in AccurateTrimStart()464 int frames_read = 0, frames_to_trim = 0; in CrossfadePostSplice() local480 frames_to_trim = frames_to_read; in CrossfadePostSplice()498 AccurateTrimStart(frames_to_trim, remainder, output_ts_helper); in CrossfadePostSplice()
80 void TrimStart(int frames_to_trim);84 void TrimEnd(int frames_to_trim);