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
GType _gType() @property
AudioBaseSrc self()Returns `this`, for use in `with` statements.
AudioBaseSrcGidBuilder builder()Get builder for [gstaudio.audiobasesrc.AudioBaseSrc] Returns: New builder object
long actualBufferTime() @propertyGet `actualBufferTime` property. Returns: Actual configured size of audio buffer in microseconds.
long actualLatencyTime() @propertyGet `actualLatencyTime` property. Returns: Actual configured audio latency in microseconds.
long bufferTime() @property
void bufferTime(long propval) @property
long latencyTime() @property
void latencyTime(long propval) @property
bool provideClock() @property
void provideClock(bool propval) @property
gstaudio.audio_ring_buffer.AudioRingBuffer createRingbuffer()Create 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()Queries whether src will provide a clock or not. See also gstaudiobasesrcsetprovideclock. Returns: true if src will provide a clock.
gstaudio.types.AudioBaseSrcSlaveMethod getSlaveMethod()Get the current slave method used by src. Returns: The current slave method used by src.
void setProvideClock(bool provide)Controls 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)Controls how clock slaving will be performed in src.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [gstaudio.audio_base_src.AudioBaseSrc]