gi-gstaudio-1.0.27: GStreamerAudio bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GstAudio.Structs.AudioRingBufferSpec

Description

The structure containing the format specification of the ringbuffer.

Synopsis

Exported types

newZeroAudioRingBufferSpec :: MonadIO m => m AudioRingBufferSpec Source #

Construct a AudioRingBufferSpec struct initialized to zero.

Methods

Properties

bufferTime

the total buffer size in microseconds

getAudioRingBufferSpecBufferTime :: MonadIO m => AudioRingBufferSpec -> m Word64 Source #

Get the value of the “buffer_time” field. When overloading is enabled, this is equivalent to

get audioRingBufferSpec #bufferTime

setAudioRingBufferSpecBufferTime :: MonadIO m => AudioRingBufferSpec -> Word64 -> m () Source #

Set the value of the “buffer_time” field. When overloading is enabled, this is equivalent to

set audioRingBufferSpec [ #bufferTime := value ]

caps

The caps that generated the Spec.

clearAudioRingBufferSpecCaps :: MonadIO m => AudioRingBufferSpec -> m () Source #

Set the value of the “caps” field to Nothing. When overloading is enabled, this is equivalent to

clear #caps

getAudioRingBufferSpecCaps :: MonadIO m => AudioRingBufferSpec -> m (Maybe Caps) Source #

Get the value of the “caps” field. When overloading is enabled, this is equivalent to

get audioRingBufferSpec #caps

setAudioRingBufferSpecCaps :: MonadIO m => AudioRingBufferSpec -> Ptr Caps -> m () Source #

Set the value of the “caps” field. When overloading is enabled, this is equivalent to

set audioRingBufferSpec [ #caps := value ]

info

getAudioRingBufferSpecInfo :: MonadIO m => AudioRingBufferSpec -> m AudioInfo Source #

Get the value of the “info” field. When overloading is enabled, this is equivalent to

get audioRingBufferSpec #info

latencyTime

the latency in microseconds

getAudioRingBufferSpecLatencyTime :: MonadIO m => AudioRingBufferSpec -> m Word64 Source #

Get the value of the “latency_time” field. When overloading is enabled, this is equivalent to

get audioRingBufferSpec #latencyTime

setAudioRingBufferSpecLatencyTime :: MonadIO m => AudioRingBufferSpec -> Word64 -> m () Source #

Set the value of the “latency_time” field. When overloading is enabled, this is equivalent to

set audioRingBufferSpec [ #latencyTime := value ]

seglatency

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

getAudioRingBufferSpecSeglatency :: MonadIO m => AudioRingBufferSpec -> m Int32 Source #

Get the value of the “seglatency” field. When overloading is enabled, this is equivalent to

get audioRingBufferSpec #seglatency

setAudioRingBufferSpecSeglatency :: MonadIO m => AudioRingBufferSpec -> Int32 -> m () Source #

Set the value of the “seglatency” field. When overloading is enabled, this is equivalent to

set audioRingBufferSpec [ #seglatency := value ]

segsize

the size of one segment in bytes

getAudioRingBufferSpecSegsize :: MonadIO m => AudioRingBufferSpec -> m Int32 Source #

Get the value of the “segsize” field. When overloading is enabled, this is equivalent to

get audioRingBufferSpec #segsize

setAudioRingBufferSpecSegsize :: MonadIO m => AudioRingBufferSpec -> Int32 -> m () Source #

Set the value of the “segsize” field. When overloading is enabled, this is equivalent to

set audioRingBufferSpec [ #segsize := value ]

segtotal

the total number of segments

getAudioRingBufferSpecSegtotal :: MonadIO m => AudioRingBufferSpec -> m Int32 Source #

Get the value of the “segtotal” field. When overloading is enabled, this is equivalent to

get audioRingBufferSpec #segtotal

setAudioRingBufferSpecSegtotal :: MonadIO m => AudioRingBufferSpec -> Int32 -> m () Source #

Set the value of the “segtotal” field. When overloading is enabled, this is equivalent to

set audioRingBufferSpec [ #segtotal := value ]

type

the sample type

getAudioRingBufferSpecType :: MonadIO m => AudioRingBufferSpec -> m AudioRingBufferFormatType Source #

Get the value of the “type” field. When overloading is enabled, this is equivalent to

get audioRingBufferSpec #type

setAudioRingBufferSpecType :: MonadIO m => AudioRingBufferSpec -> AudioRingBufferFormatType -> m () Source #

Set the value of the “type” field. When overloading is enabled, this is equivalent to

set audioRingBufferSpec [ #type := value ]