[ 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.
this |
a BaseSink |
callback | |
notify |
called when user_data becomes unused |
user_data |
user data passed to the callback |