AudioBaseSink.setCustomSlavingCallback
void setCustomSlavingCallback(gstaudio.types.AudioBaseSinkCustomSlavingCallback 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
callback | a #GstAudioBaseSinkCustomSlavingCallback |