DataQueue.this

Creates a new gst.DataQueue.DataQueue If fullcallback or emptycallback are supplied, then the gst.DataQueue.DataQueue will call the respective callback to signal full or empty condition. If the callbacks are NULL the gst.DataQueue.DataQueue will instead emit 'full' and 'empty' signals.

  1. this(GstDataQueue* gstDataQueue, bool ownedRef)
  2. this(GstDataQueueCheckFullFunction checkfull, GstDataQueueFullCallback fullcallback, GstDataQueueEmptyCallback emptycallback, void* checkdata)

Parameters

checkfull GstDataQueueCheckFullFunction

the callback used to tell if the element considers the queue full or not.

fullcallback GstDataQueueFullCallback

the callback which will be called when the queue is considered full.

emptycallback GstDataQueueEmptyCallback

the callback which will be called when the queue is considered empty.

checkdata void*

a gpointer that will be passed to the checkfull, fullcallback, and emptycallback callbacks.

Return Value

Throws

ConstructionException GTK+ fails to create the object.

Meta