Home
last modified time | relevance | path

Searched refs:segoffset (Results 1 – 6 of 6) sorted by relevance

/third_party/gstreamer/gstplugins_bad/sys/wasapi2/
Dgstwasapi2ringbuffer.cpp171 gint segoffset; member
506 g_assert (self->segoffset >= 0); in gst_wasapi2_ring_buffer_read()
508 len -= self->segoffset; in gst_wasapi2_ring_buffer_read()
513 readptr + self->segoffset, len); in gst_wasapi2_ring_buffer_read()
515 self->segoffset += len; in gst_wasapi2_ring_buffer_read()
518 if (self->segoffset == ringbuffer->spec.segsize) { in gst_wasapi2_ring_buffer_read()
520 self->segoffset = 0; in gst_wasapi2_ring_buffer_read()
531 len -= self->segoffset; in gst_wasapi2_ring_buffer_read()
537 readptr + self->segoffset, len); in gst_wasapi2_ring_buffer_read()
539 memcpy (readptr + self->segoffset, data + offset, len); in gst_wasapi2_ring_buffer_read()
[all …]
/third_party/gstreamer/gstplugins_good/sys/osxaudio/
Dgstosxaudiosrc.c368 len -= buf->segoffset; in gst_osx_audio_src_io_proc()
373 memcpy (writeptr + buf->segoffset, in gst_osx_audio_src_io_proc()
377 buf->segoffset += len; in gst_osx_audio_src_io_proc()
381 if ((gint) buf->segoffset == GST_AUDIO_RING_BUFFER (buf)->spec.segsize) { in gst_osx_audio_src_io_proc()
385 buf->segoffset = 0; in gst_osx_audio_src_io_proc()
Dgstosxaudiosink.c530 len -= buf->segoffset; in gst_osx_audio_sink_io_proc()
536 readptr + buf->segoffset, len); in gst_osx_audio_sink_io_proc()
538 buf->segoffset += len; in gst_osx_audio_sink_io_proc()
542 if ((gint) buf->segoffset == GST_AUDIO_RING_BUFFER (buf)->spec.segsize) { in gst_osx_audio_sink_io_proc()
549 buf->segoffset = 0; in gst_osx_audio_sink_io_proc()
Dgstosxaudioringbuffer.h85 guint segoffset; member
Dgstosxaudioringbuffer.c250 osxbuf->segoffset = 0; in gst_osx_audio_ring_buffer_acquire()
/third_party/gstreamer/gstplugins_good/
DChangeLog122776 Reset the segoffset when acquiring the ringbuffer, so we don't retain