/**
* SECTION:gstdataqueue
+ * @title: GstDataQueue
* @short_description: Threadsafe queueing object
*
* #GstDataQueue is an object that handles threadsafe queueing of objects. It
/* signals */
/**
- * GstDataQueue::empty:
+ * GstDataQueue::empty: (skip)
* @queue: the queue instance
*
* Reports that the queue became empty (empty).
g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
/**
- * GstDataQueue::full:
+ * GstDataQueue::full: (skip)
* @queue: the queue instance
*
* Reports that the queue became full (full).
}
/**
- * gst_data_queue_new:
+ * gst_data_queue_new: (skip)
* @checkfull: the callback used to tell if the element considers the queue full
* or not.
* @fullcallback: the callback which will be called when the queue is considered full.
* @emptycallback: the callback which will be called when the queue is considered empty.
- * @checkdata: a #gpointer that will be given in the @checkfull callback.
+ * @checkdata: a #gpointer that will be passed to the @checkfull, @fullcallback,
+ * and @emptycallback callbacks.
*
- * Creates a new #GstDataQueue. The difference with @gst_data_queue_new is that it will
- * not emit the 'full' and 'empty' signals, but instead calling directly @fullcallback
- * or @emptycallback.
+ * 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.
*
* Returns: a new #GstDataQueue.
*
}
/**
- * gst_data_queue_flush:
+ * gst_data_queue_flush: (skip)
* @queue: a #GstDataQueue.
*
* Flushes all the contents of the @queue. Any call to #gst_data_queue_push and
}
/**
- * gst_data_queue_is_empty:
+ * gst_data_queue_is_empty: (skip)
* @queue: a #GstDataQueue.
*
* Queries if there are any items in the @queue.
}
/**
- * gst_data_queue_is_full:
+ * gst_data_queue_is_full: (skip)
* @queue: a #GstDataQueue.
*
* Queries if @queue is full. This check will be done using the
}
/**
- * gst_data_queue_set_flushing:
+ * gst_data_queue_set_flushing: (skip)
* @queue: a #GstDataQueue.
* @flushing: a #gboolean stating if the queue will be flushing or not.
*
* Sets the queue to flushing state if @flushing is %TRUE. If set to flushing
* state, any incoming data on the @queue will be discarded. Any call currently
* blocking on #gst_data_queue_push or #gst_data_queue_pop will return straight
- * away with a return value of %FALSE. While the @queue is in flushing state,
+ * away with a return value of %FALSE. While the @queue is in flushing state,
* all calls to those two functions will return %FALSE.
*
* MT Safe.
}
/**
- * gst_data_queue_push_force:
+ * gst_data_queue_push_force: (skip)
* @queue: a #GstDataQueue.
* @item: a #GstDataQueueItem.
*
}
/**
- * gst_data_queue_push:
+ * gst_data_queue_push: (skip)
* @queue: a #GstDataQueue.
* @item: a #GstDataQueueItem.
*
}
/**
- * gst_data_queue_pop:
+ * gst_data_queue_pop: (skip)
* @queue: a #GstDataQueue.
* @item: pointer to store the returned #GstDataQueueItem.
*
}
/**
- * gst_data_queue_peek:
+ * gst_data_queue_peek: (skip)
* @queue: a #GstDataQueue.
* @item: pointer to store the returned #GstDataQueueItem.
*
}
/**
- * gst_data_queue_drop_head:
+ * gst_data_queue_drop_head: (skip)
* @queue: The #GstDataQueue to drop an item from.
* @type: The #GType of the item to drop.
*
}
/**
- * gst_data_queue_limits_changed:
+ * gst_data_queue_limits_changed: (skip)
* @queue: The #GstDataQueue
*
* Inform the queue that the limits for the fullness check have changed and that
}
/**
- * gst_data_queue_get_level:
+ * gst_data_queue_get_level: (skip)
* @queue: The #GstDataQueue
* @level: the location to store the result
*