Searched refs:segoffset (Results 1 – 6 of 6) sorted by relevance
171 gint segoffset; member506 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 …]
368 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()
530 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()
85 guint segoffset; member
250 osxbuf->segoffset = 0; in gst_osx_audio_ring_buffer_acquire()
122776 Reset the segoffset when acquiring the ringbuffer, so we don't retain