config_get_params


Description:

public static bool config_get_params (Structure config, out unowned Caps? caps, out uint size, out uint min_buffers, out uint max_buffers)

Gets the configuration values from config.

Parameters:

config

a BufferPool configuration

caps

the caps of buffers

size

the size of each buffer, not including prefix and padding

min_buffers

the minimum amount of buffers to allocate.

max_buffers

the maximum amount of buffers to allocate or 0 for unlimited.

Returns:

true if all parameters could be fetched.




2022 vala-language.org