Lines Matching refs:drop_samples
525 self->drop_samples = 0; in gst_audio_buffer_split_handle_discont()
556 guint64 drop_samples; in gst_audio_buffer_split_handle_discont() local
561 drop_samples = self->current_offset + avail_samples + new_offset; in gst_audio_buffer_split_handle_discont()
565 drop_samples, GST_TIME_ARGS (gst_util_uint64_scale (drop_samples, in gst_audio_buffer_split_handle_discont()
611 guint64 drop_samples = in gst_audio_buffer_split_handle_discont() local
616 drop_samples, GST_TIME_ARGS (gst_util_uint64_scale (drop_samples, in gst_audio_buffer_split_handle_discont()
618 self->drop_samples = drop_samples; in gst_audio_buffer_split_handle_discont()
671 if (!self->gapless || self->drop_samples == 0) in gst_audio_buffer_split_clip_buffer_start_for_gapless()
677 " samples, got %u samples", self->drop_samples, nsamples); in gst_audio_buffer_split_clip_buffer_start_for_gapless()
679 if (nsamples <= self->drop_samples) { in gst_audio_buffer_split_clip_buffer_start_for_gapless()
681 self->drop_samples -= nsamples; in gst_audio_buffer_split_clip_buffer_start_for_gapless()
688 nsamples - self->drop_samples); in gst_audio_buffer_split_clip_buffer_start_for_gapless()
689 self->drop_samples = 0; in gst_audio_buffer_split_clip_buffer_start_for_gapless()
692 buffer = gst_audio_buffer_truncate (buffer, bpf, self->drop_samples, -1); in gst_audio_buffer_split_clip_buffer_start_for_gapless()
693 self->drop_samples = 0; in gst_audio_buffer_split_clip_buffer_start_for_gapless()