Home
last modified time | relevance | path

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

/external/openscreen/cast/standalone_sender/
Dstreaming_opus_encoder.cc99 if (num_samples_queued_ < samples_per_cast_frame_) { in EncodeAndSend()
104 opus_encode_float(encoder(), input_.get(), num_samples_queued_, in EncodeAndSend()
106 num_samples_queued_ = 0; in EncodeAndSend()
167 frame_.rtp_timestamp + RtpTimeDelta::FromTicks(num_samples_queued_); in ResolveTimestampsAndMaybeSkip()
178 num_samples_queued_ = 0; in ResolveTimestampsAndMaybeSkip()
184 reference_time -= RtpTimeDelta::FromTicks(num_samples_queued_) in ResolveTimestampsAndMaybeSkip()
207 const int samples_needed = samples_per_cast_frame_ - num_samples_queued_; in FillInputBuffer()
211 input_.get() + num_channels_ * num_samples_queued_); in FillInputBuffer()
212 num_samples_queued_ += samples_to_copy; in FillInputBuffer()
Dstreaming_opus_encoder.h99 int num_samples_queued_ = 0; variable