config_set_params


Description:

public static void config_set_params (Structure config, Caps? caps, uint size, uint min_buffers, uint max_buffers)

Configures config with the given parameters.

Parameters:

config

a BufferPool configuration

caps

caps for the 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.