Gst.Query.prototype.set_nth_allocation_param

function set_nth_allocation_param(index:Number, allocator:Gst.Allocator, params:Gst.AllocationParams):void {
    // Gjs wrapper for gst_query_set_nth_allocation_param()
}

Parse an available query and get the alloctor and its params at index of the allocator array.

index

position in the allocator array to set

allocator

new allocator to set

params

parameters for the allocator