• Home
  • Raw
  • Download

Lines Matching refs:current_offset

367       self->current_offset = -1;  in gst_audio_buffer_split_change_state()
422 if (self->current_offset == 0) in gst_audio_buffer_split_output()
430 gst_util_uint64_scale (self->current_offset, GST_SECOND, rate); in gst_audio_buffer_split_output()
439 self->current_offset += size / bpf; in gst_audio_buffer_split_output()
442 self->current_offset += size / bpf; in gst_audio_buffer_split_output()
444 gst_util_uint64_scale (self->current_offset, GST_SECOND, rate); in gst_audio_buffer_split_output()
514 discont = discont || self->current_offset == -1; in gst_audio_buffer_split_handle_discont()
529 self->resync_rt - gst_util_uint64_scale (self->current_offset + in gst_audio_buffer_split_handle_discont()
532 self->resync_rt - gst_util_uint64_scale (self->current_offset, in gst_audio_buffer_split_handle_discont()
536 self->resync_rt + gst_util_uint64_scale (self->current_offset, in gst_audio_buffer_split_handle_discont()
539 self->resync_rt + gst_util_uint64_scale (self->current_offset + in gst_audio_buffer_split_handle_discont()
544 if (self->current_offset != -1) { in gst_audio_buffer_split_handle_discont()
561 drop_samples = self->current_offset + avail_samples + new_offset; in gst_audio_buffer_split_handle_discont()
568 } else if (new_offset > self->current_offset + avail_samples) { in gst_audio_buffer_split_handle_discont()
570 new_offset - (self->current_offset + avail_samples); in gst_audio_buffer_split_handle_discont()
610 } else if (new_offset < self->current_offset + avail_samples) { in gst_audio_buffer_split_handle_discont()
612 self->current_offset + avail_samples - new_offset; in gst_audio_buffer_split_handle_discont()
631 self->current_offset == -1 ? "first buffer" : "discont", in gst_audio_buffer_split_handle_discont()
644 self->current_offset = 0; in gst_audio_buffer_split_handle_discont()
819 self->current_offset = -1; in gst_audio_buffer_split_sink_event()