Table of Contents

Class DataQueue

Namespace
GstBase.Internal
Assembly
GstBase-1.0.dll
public class DataQueue
Inheritance
DataQueue
Inherited Members

Methods

DropHead(IntPtr, Type)

Calls native method gst_data_queue_drop_head. Version: 1.2

[Version("1.2")]
public static extern bool DropHead(IntPtr queue, Type type)

Parameters

queue IntPtr

Transfer ownership: None Nullable: False

type Type

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Flush(IntPtr)

Calls native method gst_data_queue_flush. Version: 1.2

[Version("1.2")]
public static extern void Flush(IntPtr queue)

Parameters

queue IntPtr

Transfer ownership: None Nullable: False

GetGType()

Calls native function gst_data_queue_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetLevel(IntPtr, DataQueueSizeOwnedHandle)

Calls native method gst_data_queue_get_level. Version: 1.2

[Version("1.2")]
public static extern void GetLevel(IntPtr queue, DataQueueSizeOwnedHandle level)

Parameters

queue IntPtr

Transfer ownership: None Nullable: False

level DataQueueSizeOwnedHandle

Transfer ownership: None Nullable: False

IsEmpty(IntPtr)

Calls native method gst_data_queue_is_empty. Version: 1.2

[Version("1.2")]
public static extern bool IsEmpty(IntPtr queue)

Parameters

queue IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsFull(IntPtr)

Calls native method gst_data_queue_is_full. Version: 1.2

[Version("1.2")]
public static extern bool IsFull(IntPtr queue)

Parameters

queue IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

LimitsChanged(IntPtr)

Calls native method gst_data_queue_limits_changed. Version: 1.2

[Version("1.2")]
public static extern void LimitsChanged(IntPtr queue)

Parameters

queue IntPtr

Transfer ownership: None Nullable: False

New(DataQueueCheckFullFunction, DataQueueFullCallback, DataQueueEmptyCallback, IntPtr)

Calls native constructor gst_data_queue_new. Version: 1.2

[Version("1.2")]
public static extern IntPtr New(DataQueueCheckFullFunction checkfull, DataQueueFullCallback fullcallback, DataQueueEmptyCallback emptycallback, IntPtr checkdata)

Parameters

checkfull DataQueueCheckFullFunction

Transfer ownership: None Nullable: False

fullcallback DataQueueFullCallback

Transfer ownership: None Nullable: False

emptycallback DataQueueEmptyCallback

Transfer ownership: None Nullable: False

checkdata IntPtr

Transfer ownership: None Nullable: True

Returns

IntPtr

Transfer ownership: Full Nullable: False

Push(IntPtr, DataQueueItemHandle)

Calls native method gst_data_queue_push. Version: 1.2

[Version("1.2")]
public static extern bool Push(IntPtr queue, DataQueueItemHandle item)

Parameters

queue IntPtr

Transfer ownership: None Nullable: False

item DataQueueItemHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

PushForce(IntPtr, DataQueueItemHandle)

Calls native method gst_data_queue_push_force. Version: 1.2

[Version("1.2")]
public static extern bool PushForce(IntPtr queue, DataQueueItemHandle item)

Parameters

queue IntPtr

Transfer ownership: None Nullable: False

item DataQueueItemHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SetFlushing(IntPtr, bool)

Calls native method gst_data_queue_set_flushing. Version: 1.2

[Version("1.2")]
public static extern void SetFlushing(IntPtr queue, bool flushing)

Parameters

queue IntPtr

Transfer ownership: None Nullable: False

flushing bool

Transfer ownership: None Nullable: False