gi-gst-1.0.25: GStreamer bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gst.Structs.PadProbeInfo

Description

Info passed in the PadProbeCallback.

Synopsis

Exported types

newZeroPadProbeInfo :: MonadIO m => m PadProbeInfo Source #

Construct a PadProbeInfo struct initialized to zero.

Methods

Click to display all available methods, including inherited ones

Expand

Methods

None.

Getters

getBuffer, getBufferList, getEvent, getQuery.

Setters

None.

getBuffer

padProbeInfoGetBuffer Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> PadProbeInfo

info: a PadProbeInfo

-> m (Maybe Buffer)

Returns: The Buffer from the probe

No description available in the introspection data.

getBufferList

padProbeInfoGetBufferList Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> PadProbeInfo

info: a PadProbeInfo

-> m (Maybe BufferList)

Returns: The BufferList from the probe

No description available in the introspection data.

getEvent

padProbeInfoGetEvent Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> PadProbeInfo

info: a PadProbeInfo

-> m (Maybe Event)

Returns: The Event from the probe

No description available in the introspection data.

getQuery

padProbeInfoGetQuery Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> PadProbeInfo

info: a PadProbeInfo

-> m (Maybe Query)

Returns: The Query from the probe

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 ]