HomeSort by relevance Sort by last modified time
    Searched defs:playback_rate (Results 1 - 4 of 4) sorted by null

  /external/chromium_org/media/filters/
audio_renderer_algorithm.h 67 float playback_rate() const { return playback_rate_; } function in class:media::AudioRendererAlgorithm
audio_renderer_impl.cc 77 if (algorithm_->playback_rate() != 0)
497 void AudioRendererImpl::SetPlaybackRate(float playback_rate) {
498 DVLOG(1) << __FUNCTION__ << "(" << playback_rate << ")"; local
500 DCHECK_GE(playback_rate, 0);
506 // Play: current_playback_rate == 0 && playback_rate != 0
507 // Pause: current_playback_rate != 0 && playback_rate == 0
508 float current_playback_rate = algorithm_->playback_rate();
509 if (current_playback_rate == 0 && playback_rate != 0)
511 else if (current_playback_rate != 0 && playback_rate == 0)
514 algorithm_->SetPlaybackRate(playback_rate);
541 float playback_rate = algorithm_->playback_rate(); local
    [all...]
audio_renderer_algorithm_unittest.cc 157 void TestPlaybackRate(double playback_rate) {
163 playback_rate, kDefaultBufferSize, kDefaultFramesRequested);
166 void TestPlaybackRate(double playback_rate,
171 algorithm_.SetPlaybackRate(static_cast<float>(playback_rate));
175 if (playback_rate == 0.0) {
188 << ", playing at " << playback_rate; local
208 if (playback_rate == 1.0) {
218 // down playback, and for playback_rate > 1, playback rate generally gets
223 EXPECT_NEAR(playback_rate, actual_playback_rate, playback_rate / 100.0)
    [all...]
  /external/chromium_org/media/base/
pipeline_unittest.cc 707 float playback_rate = 1.0f; local
708 EXPECT_CALL(*video_renderer_, SetPlaybackRate(playback_rate));
709 EXPECT_CALL(*audio_renderer_, SetPlaybackRate(playback_rate));
710 pipeline_->SetPlaybackRate(playback_rate);
744 float playback_rate = 1.0f; local
745 EXPECT_CALL(*audio_renderer_, SetPlaybackRate(playback_rate));
746 pipeline_->SetPlaybackRate(playback_rate);
878 float playback_rate = 1.0f; local
879 EXPECT_CALL(*audio_renderer_, SetPlaybackRate(playback_rate));
880 pipeline_->SetPlaybackRate(playback_rate);
    [all...]

Completed in 34 milliseconds