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()void caps(gst.caps.Caps propval) @propertySet `caps` field. Params: propval = The caps that generated the Spec.void type(gstaudio.types.AudioRingBufferFormatType propval) @propertySet `type` field. Params: propval = the sample typevoid latencyTime(ulong propval) @propertySet `latencyTime` field. Params: propval = the latency in microsecondsvoid bufferTime(ulong propval) @propertySet `bufferTime` field. Params: propval = the total buffer size in microsecondsvoid segsize(int propval) @propertySet `segsize` field. Params: propval = the size of one segment in bytesvoid segtotal(int propval) @propertySet `segtotal` field. Params: propval = the total number of segmentsint seglatency() @propertyGet `seglatency` field. Returns: number of segments queued in the lower level device, defaults to segtotalvoid seglatency(int propval) @propertySet `seglatency` field. Params: propval = number of segments queued in the lower level device, defaults to segtotal