set_buffer_function


Description:

public void set_buffer_function (CollectPadsBufferFunction func)

Set the callback function and user data that will be called with the oldest buffer when all pads have been collected, or null on EOS.

If a buffer is passed, the callback owns a reference and must unref it.

MT safe.

Parameters:

this

the collectpads to use

func

the function to set

user_data

user data passed to the function