Home
last modified time | relevance | path

Searched refs:preroll (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/media/base/
Daudio_splicer.cc394 scoped_refptr<AudioBuffer> preroll = pre_splice_sanitizer_->GetNextBuffer(); in ExtractCrossfadeFromPreSplice() local
400 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 …]
Dstream_parser_buffer.h77 void SetPrerollBuffer(const scoped_refptr<StreamParserBuffer>& preroll);