GstAudio.AudioRingBufferSpec

Fields

Name

Type

Access

Description

buffer_time

int

r/w

the total buffer size in microseconds

caps

Gst.Caps

r/w

The caps that generated the Spec.

info

GstAudio.AudioInfo

r/w

the GstAudio.AudioInfo

latency_time

int

r/w

the latency in microseconds

seglatency

int

r/w

number of segments queued in the lower level device, defaults to segtotal

segsize

int

r/w

the size of one segment in bytes

segtotal

int

r/w

the total number of segments

type

GstAudio.AudioRingBufferFormatType

r/w

the sample type

Methods

None

Details

class GstAudio.AudioRingBufferSpec

The structure containing the format specification of the ringbuffer.

When type is GstAudio.AudioRingBufferFormatType.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.