set_custom_slaving_callback


Description:

[ Version ( since = "1.6" ) ]
public void set_custom_slaving_callback (owned BaseSinkCustomSlavingCallback callback)

Sets the custom slaving callback.

This callback will be invoked if the slave-method property is set to GST_AUDIO_BASE_SINK_SLAVE_CUSTOM and the audio sink receives and plays samples.

Setting the callback to NULL causes the sink to behave as if the GST_AUDIO_BASE_SINK_SLAVE_NONE method were used.

Parameters:

this

a BaseSink

callback

a BaseSinkCustomSlavingCallback

notify

called when user_data becomes unused

user_data

user data passed to the callback




2022 vala-language.org