Gst.AtomicQueue.new

function new(initial_size:Number):Gst.AtomicQueue {
    // Gjs wrapper for gst_atomic_queue_new()
}

Create a new atomic queue instance. initial_size will be rounded up to the nearest power of 2 and used as the initial size of the queue.

initial_size

initial queue size

Returns

a new Gst.AtomicQueue