Searched refs:preroll (Results 1 – 2 of 2) sorted by relevance
394 scoped_refptr<AudioBuffer> preroll = pre_splice_sanitizer_->GetNextBuffer(); in ExtractCrossfadeFromPreSplice() local400 AudioBus::Create(preroll->channel_count(), frames_to_crossfade); in ExtractCrossfadeFromPreSplice()403 preroll->channel_layout(), in ExtractCrossfadeFromPreSplice()404 preroll->channel_count(), in ExtractCrossfadeFromPreSplice()405 preroll->sample_rate(), in ExtractCrossfadeFromPreSplice()411 if (frames_before_splice >= preroll->frame_count()) { in ExtractCrossfadeFromPreSplice()416 frames_before_splice -= preroll->frame_count(); in ExtractCrossfadeFromPreSplice()417 CHECK(output_sanitizer_->AddInput(preroll)); in ExtractCrossfadeFromPreSplice()422 std::min(preroll->frame_count() - frames_before_splice, in ExtractCrossfadeFromPreSplice()424 preroll->ReadFrames( in ExtractCrossfadeFromPreSplice()[all …]
77 void SetPrerollBuffer(const scoped_refptr<StreamParserBuffer>& preroll);