Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
Structure used by the collect_pads.
Synopsis
- newtype CollectData = CollectData (ManagedPtr CollectData)
- newZeroCollectData :: MonadIO m => m CollectData
- noCollectData :: Maybe CollectData
- clearCollectDataBuffer :: MonadIO m => CollectData -> m ()
- getCollectDataBuffer :: MonadIO m => CollectData -> m (Maybe Buffer)
- setCollectDataBuffer :: MonadIO m => CollectData -> Ptr Buffer -> m ()
- clearCollectDataCollect :: MonadIO m => CollectData -> m ()
- getCollectDataCollect :: MonadIO m => CollectData -> m (Maybe CollectPads)
- setCollectDataCollect :: MonadIO m => CollectData -> Ptr CollectPads -> m ()
- clearCollectDataPad :: MonadIO m => CollectData -> m ()
- getCollectDataPad :: MonadIO m => CollectData -> m (Maybe Pad)
- setCollectDataPad :: MonadIO m => CollectData -> Ptr Pad -> m ()
- getCollectDataPos :: MonadIO m => CollectData -> m Word32
- setCollectDataPos :: MonadIO m => CollectData -> Word32 -> m ()
- getCollectDataSegment :: MonadIO m => CollectData -> m Segment
Exported types
newtype CollectData Source #
Memory-managed wrapper type.
Instances
WrappedPtr CollectData Source # | |
Defined in GI.GstBase.Structs.CollectData | |
tag ~ AttrSet => Constructible CollectData tag Source # | |
Defined in GI.GstBase.Structs.CollectData new :: MonadIO m => (ManagedPtr CollectData -> CollectData) -> [AttrOp CollectData tag] -> m CollectData # |
newZeroCollectData :: MonadIO m => m CollectData Source #
Construct a CollectData
struct initialized to zero.
noCollectData :: Maybe CollectData Source #
A convenience alias for Nothing
:: Maybe
CollectData
.
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
owner CollectPads
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