Lines Matching refs:gbarray
159 src->gbarray = g_byte_array_new (); in gst_dshowaudiosrc_init()
192 if (src->gbarray) { in gst_dshowaudiosrc_dispose()
193 g_byte_array_free (src->gbarray, TRUE); in gst_dshowaudiosrc_dispose()
194 src->gbarray = NULL; in gst_dshowaudiosrc_dispose()
659 if (src->gbarray) { in gst_dshowaudiosrc_read()
661 if (src->gbarray->len >= length) { in gst_dshowaudiosrc_read()
663 memcpy (data, src->gbarray->data + (src->gbarray->len - length), length); in gst_dshowaudiosrc_read()
664 g_byte_array_remove_range (src->gbarray, src->gbarray->len - length, in gst_dshowaudiosrc_read()
686 if (src->gbarray) { in gst_dshowaudiosrc_delay()
688 if (src->gbarray->len) { in gst_dshowaudiosrc_delay()
689 ret = src->gbarray->len / 4; in gst_dshowaudiosrc_delay()
703 GST_DEBUG ("byte array size= %d", src->gbarray->len); in gst_dshowaudiosrc_reset()
704 if (src->gbarray->len > 0) in gst_dshowaudiosrc_reset()
705 g_byte_array_remove_range (src->gbarray, 0, src->gbarray->len); in gst_dshowaudiosrc_reset()
802 g_byte_array_prepend (src->gbarray, buffer, size); in gst_dshowaudiosrc_push_buffer()