| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
GI.Gst.Structs.PadProbeInfo
Description
Info passed in the PadProbeCallback.
Synopsis
- newtype PadProbeInfo = PadProbeInfo (ManagedPtr PadProbeInfo)
- newZeroPadProbeInfo :: MonadIO m => m 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.
Constructors
| PadProbeInfo (ManagedPtr PadProbeInfo) |
Instances
| Eq PadProbeInfo Source # | |
Defined in GI.Gst.Structs.PadProbeInfo | |
| BoxedPtr PadProbeInfo Source # | |
Defined in GI.Gst.Structs.PadProbeInfo | |
| CallocPtr PadProbeInfo Source # | |
Defined in GI.Gst.Structs.PadProbeInfo Methods boxedPtrCalloc :: IO (Ptr PadProbeInfo) | |
| ManagedPtrNewtype PadProbeInfo Source # | |
Defined in GI.Gst.Structs.PadProbeInfo Methods toManagedPtr :: PadProbeInfo -> ManagedPtr PadProbeInfo | |
| tag ~ 'AttrSet => Constructible PadProbeInfo tag Source # | |
Defined in GI.Gst.Structs.PadProbeInfo Methods new :: MonadIO m => (ManagedPtr PadProbeInfo -> PadProbeInfo) -> [AttrOp PadProbeInfo tag] -> m PadProbeInfo | |
newZeroPadProbeInfo :: MonadIO m => m PadProbeInfo Source #
Construct a PadProbeInfo struct initialized to zero.
Methods
Click to display all available methods, including inherited ones
getBuffer
padProbeInfoGetBuffer Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => PadProbeInfo |
|
| -> m (Maybe Buffer) | Returns: The |
No description available in the introspection data.
getBufferList
padProbeInfoGetBufferList Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => PadProbeInfo |
|
| -> m (Maybe BufferList) | Returns: The |
No description available in the introspection data.
getEvent
Arguments
| :: (HasCallStack, MonadIO m) | |
| => PadProbeInfo |
|
| -> m (Maybe Event) | Returns: The |
No description available in the introspection data.
getQuery
Arguments
| :: (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
setpadProbeInfo [ #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
setpadProbeInfo [ #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
setpadProbeInfo [ #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
setpadProbeInfo [ #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
setpadProbeInfo [ #type:=value ]