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 |
Info passed in the PadProbeCallback
.
Synopsis
- newtype PadProbeInfo = PadProbeInfo (ManagedPtr PadProbeInfo)
- newZeroPadProbeInfo :: MonadIO m => m PadProbeInfo
- noPadProbeInfo :: Maybe PadProbeInfo
- padProbeInfoGetBuffer :: (HasCallStack, MonadIO m) => PadProbeInfo -> m (Maybe Buffer)
- padProbeInfoGetBufferList :: (HasCallStack, MonadIO m) => PadProbeInfo -> m (Maybe BufferList)
- padProbeInfoGetEvent :: (HasCallStack, MonadIO m) => PadProbeInfo -> m (Maybe Event)
- padProbeInfoGetQuery :: (HasCallStack, MonadIO m) => PadProbeInfo -> m (Maybe Query)
- clearPadProbeInfoData :: MonadIO m => PadProbeInfo -> m ()
- getPadProbeInfoData :: MonadIO m => PadProbeInfo -> m (Ptr ())
- setPadProbeInfoData :: MonadIO m => PadProbeInfo -> Ptr () -> m ()
- getPadProbeInfoId :: MonadIO m => PadProbeInfo -> m CULong
- setPadProbeInfoId :: MonadIO m => PadProbeInfo -> CULong -> m ()
- getPadProbeInfoOffset :: MonadIO m => PadProbeInfo -> m Word64
- setPadProbeInfoOffset :: MonadIO m => PadProbeInfo -> Word64 -> m ()
- getPadProbeInfoSize :: MonadIO m => PadProbeInfo -> m Word32
- setPadProbeInfoSize :: MonadIO m => PadProbeInfo -> Word32 -> m ()
- getPadProbeInfoType :: MonadIO m => PadProbeInfo -> m [PadProbeType]
- setPadProbeInfoType :: MonadIO m => PadProbeInfo -> [PadProbeType] -> m ()
Exported types
newtype PadProbeInfo Source #
Memory-managed wrapper type.
Instances
WrappedPtr PadProbeInfo Source # | |
Defined in GI.Gst.Structs.PadProbeInfo | |
tag ~ AttrSet => Constructible PadProbeInfo tag Source # | |
Defined in GI.Gst.Structs.PadProbeInfo new :: MonadIO m => (ManagedPtr PadProbeInfo -> PadProbeInfo) -> [AttrOp PadProbeInfo tag] -> m PadProbeInfo # |
newZeroPadProbeInfo :: MonadIO m => m PadProbeInfo Source #
Construct a PadProbeInfo
struct initialized to zero.
noPadProbeInfo :: Maybe PadProbeInfo Source #
A convenience alias for Nothing
:: Maybe
PadProbeInfo
.
Methods
getBuffer
padProbeInfoGetBuffer Source #
:: (HasCallStack, MonadIO m) | |
=> PadProbeInfo |
|
-> m (Maybe Buffer) | Returns: The |
No description available in the introspection data.
getBufferList
padProbeInfoGetBufferList Source #
:: (HasCallStack, MonadIO m) | |
=> PadProbeInfo |
|
-> m (Maybe BufferList) | Returns: The |
No description available in the introspection data.
getEvent
:: (HasCallStack, MonadIO m) | |
=> PadProbeInfo |
|
-> m (Maybe Event) | Returns: The |
No description available in the introspection data.
getQuery
:: (HasCallStack, MonadIO m) | |
=> PadProbeInfo |
|
-> m (Maybe Query) | Returns: The |
No description available in the introspection data.
Properties
data
type specific data, check the type
field to know the
datatype. This field can be Nothing
.
clearPadProbeInfoData :: MonadIO m => PadProbeInfo -> m () Source #
Set the value of the “data
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#data
getPadProbeInfoData :: MonadIO m => PadProbeInfo -> m (Ptr ()) Source #
Get the value of the “data
” field.
When overloading is enabled, this is equivalent to
get
padProbeInfo #data
setPadProbeInfoData :: MonadIO m => PadProbeInfo -> Ptr () -> m () Source #
Set the value of the “data
” field.
When overloading is enabled, this is equivalent to
set
padProbeInfo [ #data:=
value ]
id
the id of the probe
getPadProbeInfoId :: MonadIO m => PadProbeInfo -> m CULong Source #
Get the value of the “id
” field.
When overloading is enabled, this is equivalent to
get
padProbeInfo #id
setPadProbeInfoId :: MonadIO m => PadProbeInfo -> CULong -> m () Source #
Set the value of the “id
” field.
When overloading is enabled, this is equivalent to
set
padProbeInfo [ #id:=
value ]
offset
offset of pull probe, this field is valid when type
contains
GST_PAD_PROBE_TYPE_PULL
getPadProbeInfoOffset :: MonadIO m => PadProbeInfo -> m Word64 Source #
Get the value of the “offset
” field.
When overloading is enabled, this is equivalent to
get
padProbeInfo #offset
setPadProbeInfoOffset :: MonadIO m => PadProbeInfo -> Word64 -> m () Source #
Set the value of the “offset
” field.
When overloading is enabled, this is equivalent to
set
padProbeInfo [ #offset:=
value ]
size
size of pull probe, this field is valid when type
contains
GST_PAD_PROBE_TYPE_PULL
getPadProbeInfoSize :: MonadIO m => PadProbeInfo -> m Word32 Source #
Get the value of the “size
” field.
When overloading is enabled, this is equivalent to
get
padProbeInfo #size
setPadProbeInfoSize :: MonadIO m => PadProbeInfo -> Word32 -> m () Source #
Set the value of the “size
” field.
When overloading is enabled, this is equivalent to
set
padProbeInfo [ #size:=
value ]
type
the current probe type
getPadProbeInfoType :: MonadIO m => PadProbeInfo -> m [PadProbeType] Source #
Get the value of the “type
” field.
When overloading is enabled, this is equivalent to
get
padProbeInfo #type
setPadProbeInfoType :: MonadIO m => PadProbeInfo -> [PadProbeType] -> m () Source #
Set the value of the “type
” field.
When overloading is enabled, this is equivalent to
set
padProbeInfo [ #type:=
value ]