Searched refs:segdone (Results 1 – 7 of 7) sorted by relevance
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | gstaudioringbuffer.c | 90 ringbuffer->segdone = 0; in gst_audio_ring_buffer_init() 753 g_atomic_int_set (&buf->segdone, 0); in gst_audio_ring_buffer_release() 1244 gint segdone; in gst_audio_ring_buffer_samples_done() local 1250 segdone = g_atomic_int_get (&buf->segdone); in gst_audio_ring_buffer_samples_done() 1253 samples = ((guint64) segdone) * buf->samples_per_seg; in gst_audio_ring_buffer_samples_done() 1286 buf->segbase = buf->segdone - sample / buf->samples_per_seg; in gst_audio_ring_buffer_set_sample() 1352 segments = g_atomic_int_get (&buf->segdone); in wait_segment() 1357 if (G_LIKELY (g_atomic_int_get (&buf->segdone) != segments)) in wait_segment() 1521 gint segdone; in default_commit() local 1576 segdone = g_atomic_int_get (&buf->segdone) - buf->segbase; in default_commit() [all …]
|
D | gstaudiobasesrc.c | 703 gint readseg, segdone, segtotal, sps; in gst_audio_base_src_get_offset() local 713 segdone = g_atomic_int_get (&src->ringbuffer->segdone) in gst_audio_base_src_get_offset() 718 segdone, sample); in gst_audio_base_src_get_offset() 726 diff = segdone - readseg; in gst_audio_base_src_get_offset() 728 GST_DEBUG_OBJECT (src, "dropped, align to segment %d", segdone); in gst_audio_base_src_get_offset() 730 sample = ((guint64) (segdone)) * sps; in gst_audio_base_src_get_offset() 734 GST_DEBUG_OBJECT (src, "first sample, align to current %d", segdone); in gst_audio_base_src_get_offset() 735 sample = ((guint64) (segdone)) * sps; in gst_audio_base_src_get_offset() 736 readseg = segdone; in gst_audio_base_src_get_offset() 741 segdone, sample); in gst_audio_base_src_get_offset() [all …]
|
D | gstaudiobasesink.c | 1202 gint writeseg, segdone; in gst_audio_base_sink_get_offset() local 1218 segdone = g_atomic_int_get (&sink->ringbuffer->segdone) in gst_audio_base_sink_get_offset() 1222 diff = writeseg - segdone; in gst_audio_base_sink_get_offset() 1225 sample = (segdone + 1) * sps; in gst_audio_base_sink_get_offset() 1730 gint segdone = g_atomic_int_get (&ringbuf->segdone) - ringbuf->segbase; in gst_audio_base_sink_get_alignment() local 1731 gint64 samples_done = segdone * (gint64) ringbuf->samples_per_seg; in gst_audio_base_sink_get_alignment()
|
D | gstaudioringbuffer.h | 199 gint segdone; member
|
/third_party/gstreamer/gstplugins_good/ext/pulse/ |
D | pulsesink.c | 746 g_atomic_int_set (&ringbuf->segdone, in gst_pulsering_stream_latency_cb()
|
/third_party/gstreamer/gstplugins_good/ |
D | ChangeLog | 63247 pulsesink: Update segdone periodically 63248 This makes sure that we update segdone based on the read index received 63250 to deal with the fact that segdone is a segment multiple, while the read
|
/third_party/gstreamer/gstplugins_base/ |
D | ChangeLog | 65905 then acquired again. This makes it reset the segbase/segdone 65908 and, as the segdone is at 0, the audiosink will wait the duration 75840 audioringbuffer: Reset segdone when releasing audioringbuffer
|