AudioBaseSink.setCustomSlavingCallback

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.

class AudioBaseSink
void
setCustomSlavingCallback

Parameters

callback gstaudio.types.AudioBaseSinkCustomSlavingCallback

a #GstAudioBaseSinkCustomSlavingCallback