DataQueue.this

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

  1. this(GstDataQueue* gstDataQueue, bool ownedRef)
  2. this(GstDataQueueCheckFullFunction checkfull, GstDataQueueFullCallback fullcallback, GstDataQueueEmptyCallback emptycallback, void* checkdata)
    class DataQueue
    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

a new #GstDataQueue.

Throws

ConstructionException GTK+ fails to create the object.

Meta