gstaudio.audio_ring_buffer_spec
Module for [AudioRingBufferSpec] class
class AudioRingBufferSpec
Types 1
classAudioRingBufferSpec
The structure containing the format specification of the ringbuffer.
When @type is GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DSD, the @dsd_format is valid (otherwise it is unused). Also, when DSD is the sample type, only the rate, channels, position, and bpf fields in @info are populated.
Fields
GstAudioRingBufferSpec _cInstanceMethods
void * _cPtr() nothrowvoid caps(gst.caps.Caps propval) @property nothrowSet `caps` field. Params: propval = The caps that generated the Spec.gstaudio.types.AudioRingBufferFormatType type() @property nothrowGet `type` field. Returns: the sample typevoid type(gstaudio.types.AudioRingBufferFormatType propval) @property nothrowSet `type` field. Params: propval = the sample typevoid latencyTime(ulong propval) @property nothrowSet `latencyTime` field. Params: propval = the latency in microsecondsulong bufferTime() @property nothrowGet `bufferTime` field. Returns: the total buffer size in microsecondsvoid bufferTime(ulong propval) @property nothrowSet `bufferTime` field. Params: propval = the total buffer size in microsecondsvoid segsize(int propval) @property nothrowSet `segsize` field. Params: propval = the size of one segment in bytesvoid segtotal(int propval) @property nothrowSet `segtotal` field. Params: propval = the total number of segmentsint seglatency() @property nothrowGet `seglatency` field. Returns: number of segments queued in the lower level device, defaults to segtotalvoid seglatency(int propval) @property nothrowSet `seglatency` field. Params: propval = number of segments queued in the lower level device, defaults to segtotal