gi-gstbase-1.0.19: GStreamerBase bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.GstBase.Structs.CollectData

Contents

Description

Structure used by the collect_pads.

Synopsis

Exported types

newZeroCollectData :: MonadIO m => m CollectData Source #

Construct a CollectData struct initialized to zero.

Properties

buffer

currently queued buffer.

clearCollectDataBuffer :: MonadIO m => CollectData -> m () Source #

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

clear #buffer

getCollectDataBuffer :: MonadIO m => CollectData -> m (Maybe Buffer) Source #

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

get collectData #buffer

setCollectDataBuffer :: MonadIO m => CollectData -> Ptr Buffer -> m () Source #

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

set collectData [ #buffer := value ]

collect

clearCollectDataCollect :: MonadIO m => CollectData -> m () Source #

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

clear #collect

getCollectDataCollect :: MonadIO m => CollectData -> m (Maybe CollectPads) Source #

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

get collectData #collect

setCollectDataCollect :: MonadIO m => CollectData -> Ptr CollectPads -> m () Source #

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

set collectData [ #collect := value ]

pad

Pad managed by this data

clearCollectDataPad :: MonadIO m => CollectData -> m () Source #

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

clear #pad

getCollectDataPad :: MonadIO m => CollectData -> m (Maybe Pad) Source #

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

get collectData #pad

setCollectDataPad :: MonadIO m => CollectData -> Ptr Pad -> m () Source #

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

set collectData [ #pad := value ]

pos

position in the buffer

getCollectDataPos :: MonadIO m => CollectData -> m Word32 Source #

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

get collectData #pos

setCollectDataPos :: MonadIO m => CollectData -> Word32 -> m () Source #

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

set collectData [ #pos := value ]

segment

last segment received.

getCollectDataSegment :: MonadIO m => CollectData -> m Segment Source #

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

get collectData #segment