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 _getGType() static nothrow
GType _gType() @property nothrow
AudioBaseSrc self() nothrowReturns `this`, for use in `with` statements.
AudioBaseSrcGidBuilder builder() static nothrowGet builder for [gstaudio.audio_base_src.AudioBaseSrc] Returns: New builder object
long 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.
long bufferTime() @property nothrow
void bufferTime(long propval) @property nothrow
long latencyTime() @property nothrow
void latencyTime(long propval) @property nothrow
bool provideClock() @property nothrow
void provideClock(bool propval) @property nothrow
void slaveMethod(gstaudio.types.AudioBaseSrcSlaveMethod propval) @property nothrow
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.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for gstaudio.audio_base_src.AudioBaseSrc

Methods
T bufferTime(long propval) nothrow
T latencyTime(long propval) nothrow
T provideClock(bool propval) nothrow
Methods
AudioBaseSrc build() nothrowCreate object from builder. Returns: New object