Create and return the #GstAudioRingBuffer for sink. This function will call the ::create_ringbuffer vmethod and will set sink as the parent of the returned buffer (see gst.object.ObjectGst.setParent).
Get the current alignment threshold, in nanoseconds, used by sink.
Get the current discont wait, in nanoseconds, used by sink.
Get the current drift tolerance, in microseconds, used by sink.
Queries whether sink will provide a clock or not. See also gst_audio_base_sink_set_provide_clock.
Get the current slave method used by sink.
Informs this base class that the audio output device has failed for some reason, causing a discontinuity (for example, because the device recovered from the error, but lost all contents of its ring buffer). This function is typically called by derived classes, and is useful for the custom slave method.
Controls the sink's alignment threshold.
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.
Controls how long the sink will wait before creating a discontinuity.
Controls the sink's drift tolerance.
Controls whether sink will provide a clock or not. If provide is true, gst.element.Element.provideClock will return a clock that reflects the datarate of sink. If provide is false, gst.element.Element.provideClock will return NULL.
Controls how clock slaving will be performed in sink.
This is the most simple base class for audio sinks that only requires subclasses to implement a set of simple functions:
by the device.
All scheduling of samples and timestamps is done in this base class together with #GstAudioBaseSink using a default implementation of a #GstAudioRingBuffer that uses threads.