gstaudio.audio_base_src
Module for [AudioBaseSrc] class
Types 3
This is the base class for audio sources. Subclasses need to implement the ::create_ringbuffer vmethod. This base class will then take care of reading samples from the ringbuffer, synchronisation and flushing.
Methods
AudioBaseSrcGidBuilder builder() static nothrowGet builder for [gstaudio.audio_base_src.AudioBaseSrc] Returns: New builder objectlong actualBufferTime() @property nothrowGet `actualBufferTime` property. Returns: Actual configured size of audio buffer in microseconds.long actualLatencyTime() @property nothrowGet `actualLatencyTime` property. Returns: Actual configured audio latency in microseconds.gstaudio.audio_ring_buffer.AudioRingBuffer createRingbuffer() nothrowCreate and return the #GstAudioRingBuffer for src. This function will call the ::create_ringbuffer vmethod and will set src as the parent of the returned buffer (see [gst.object.ObjectWrap.setParen...bool getProvideClock() nothrowQueries whether src will provide a clock or not. See also gst_audio_base_src_set_provide_clock. Returns: true if src will provide a clock.gstaudio.types.AudioBaseSrcSlaveMethod getSlaveMethod() nothrowGet the current slave method used by src. Returns: The current slave method used by src.void setProvideClock(bool provide) nothrowControls whether src will provide a clock or not. If provide is true, [gst.element.Element.provideClock] will return a clock that reflects the datarate of src. If provide is false, [gst.element.Ele...void setSlaveMethod(gstaudio.types.AudioBaseSrcSlaveMethod method) nothrowControls how clock slaving will be performed in src.Fluent builder implementation template for gstaudio.audio_base_src.AudioBaseSrc
Methods
T bufferTime(long propval) nothrowT latencyTime(long propval) nothrowT provideClock(bool propval) nothrowT slaveMethod(gstaudio.types.AudioBaseSrcSlaveMethod propval) nothrowFluent builder for gstaudio.audio_base_src.AudioBaseSrc
Methods