• Home
  • Raw
  • Download

Lines Matching refs:next_sample

60   gint64 next_sample;           /* next sample to send */  member
249 gint64 next_sample; in gst_lv2_source_do_seek() local
260 next_sample = gst_util_uint64_scale_int (time, samplerate, GST_SECOND); in gst_lv2_source_do_seek()
261 lv2->next_byte = next_sample * bpf; in gst_lv2_source_do_seek()
266 gst_util_uint64_scale_round (next_sample, GST_SECOND, samplerate); in gst_lv2_source_do_seek()
269 " next_time=%" GST_TIME_FORMAT, next_sample, in gst_lv2_source_do_seek()
274 lv2->next_sample = next_sample; in gst_lv2_source_do_seek()
371 gint64 next_sample, next_byte; in gst_lv2_source_fill() local
417 lv2->next_sample = offset / bpf; in gst_lv2_source_fill()
419 gst_util_uint64_scale_int (lv2->next_sample, GST_SECOND, samplerate); in gst_lv2_source_fill()
425 (lv2->sample_stop > lv2->next_sample) && in gst_lv2_source_fill()
426 (lv2->sample_stop < lv2->next_sample + samples) in gst_lv2_source_fill()
429 lv2->generate_samples_per_buffer = lv2->sample_stop - lv2->next_sample; in gst_lv2_source_fill()
430 next_sample = lv2->sample_stop; in gst_lv2_source_fill()
437 next_sample = lv2->next_sample + (lv2->reverse ? (-samples) : samples); in gst_lv2_source_fill()
443 next_time = gst_util_uint64_scale_int (next_sample, GST_SECOND, samplerate); in gst_lv2_source_fill()
447 "next_sample %" G_GINT64_FORMAT ", ts %" GST_TIME_FORMAT, next_sample, in gst_lv2_source_fill()
452 GST_BUFFER_OFFSET (buffer) = lv2->next_sample; in gst_lv2_source_fill()
453 GST_BUFFER_OFFSET_END (buffer) = next_sample; in gst_lv2_source_fill()
465 lv2->next_sample = next_sample; in gst_lv2_source_fill()
526 lv2->next_sample = 0; in gst_lv2_source_start()