Searched refs:timestamp_helper_ (Results 1 – 9 of 9) sorted by relevance
35 timestamp_helper_(output_params_.sample_rate()), in AudioBufferConverter()58 if (timestamp_helper_.base_timestamp() == kNoTimestamp()) in AddInput()59 timestamp_helper_.SetBaseTimestamp(buffer->timestamp()); in AddInput()80 timestamp_helper_.SetBaseTimestamp(kNoTimestamp()); in Reset()89 timestamp_helper_.SetBaseTimestamp(kNoTimestamp()); in ResetTimestampState()229 output_buffer->set_timestamp(timestamp_helper_.GetTimestamp()); in ConvertIfPossible()230 timestamp_helper_.AddFrames(request_frames); in ConvertIfPossible()
29 timestamp_helper_(sample_rate_), in AudioDiscardHelper()47 timestamp_helper_.SetBaseTimestamp(kNoTimestamp()); in Reset()68 timestamp_helper_.SetBaseTimestamp( in ProcessBuffers()194 decoded_buffer->set_timestamp(timestamp_helper_.GetTimestamp()); in ProcessBuffers()195 timestamp_helper_.AddFrames(decoded_buffer->frame_count()); in ProcessBuffers()
62 return timestamp_helper_.base_timestamp() != kNoTimestamp(); in initialized()68 AudioTimestampHelper timestamp_helper_; variable
96 AudioTimestampHelper timestamp_helper_; variable
16 timestamp_helper_(sample_rate_), in AudioClockTest()18 timestamp_helper_.SetBaseTimestamp(base::TimeDelta()); in AudioClockTest()24 timestamp_helper_.AddFrames(static_cast<int>(frames * playback_rate)); in WroteAudio()26 frames, delay_frames, playback_rate, timestamp_helper_.GetTimestamp()); in WroteAudio()42 AudioTimestampHelper timestamp_helper_; member in media::AudioClockTest
104 if (timestamp_helper_->base_timestamp() == kNoTimestamp() && in Decode()106 timestamp_helper_->SetBaseTimestamp(buffer->timestamp()); in Decode()220 timestamp_helper_.reset( in FinishInitialization()336 timestamp_helper_->SetBaseTimestamp(kNoTimestamp()); in DoReset()351 base::TimeDelta current_time = timestamp_helper_->GetTimestamp(); in ProcessDecodedFrames()360 timestamp_helper_->AddFrames(frame->frame_count()); in ProcessDecodedFrames()
124 scoped_ptr<AudioTimestampHelper> timestamp_helper_; variable
81 timestamp_helper_->SetBaseTimestamp(base::TimeDelta()); in Flush()216 if (timestamp_helper_) in ParseFrame()217 base_timestamp = timestamp_helper_->GetTimestamp(); in ParseFrame()219 timestamp_helper_.reset(new AudioTimestampHelper(sample_rate)); in ParseFrame()220 timestamp_helper_->SetBaseTimestamp(base_timestamp); in ParseFrame()244 buffer->set_timestamp(timestamp_helper_->GetTimestamp()); in ParseFrame()245 buffer->set_duration(timestamp_helper_->GetFrameDuration(sample_count)); in ParseFrame()248 timestamp_helper_->AddFrames(sample_count); in ParseFrame()417 timestamp_helper_->SetBaseTimestamp(base::TimeDelta()); in SendBuffers()
145 scoped_ptr<AudioTimestampHelper> timestamp_helper_; variable