AudioEncoder.setAllocationCaps

void setAllocationCaps(gst.caps.Caps allocationCaps = null)

Sets a caps in allocation query which are different from the set pad's caps. Use this function before calling [gstaudio.audio_encoder.AudioEncoder.negotiate]. Setting to null the allocation query will use the caps from the pad.

Parameters

allocationCapsa #GstCaps or null