gi-gst-1.0.18: GStreamer 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.Gst.Structs.TimedValue

Contents

Description

Structure for saving a timestamp and a value.

Synopsis

Exported types

newZeroTimedValue :: MonadIO m => m TimedValue Source #

Construct a TimedValue struct initialized to zero.

Properties

timestamp

timestamp of the value change

getTimedValueTimestamp :: MonadIO m => TimedValue -> m Word64 Source #

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

get timedValue #timestamp

setTimedValueTimestamp :: MonadIO m => TimedValue -> Word64 -> m () Source #

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

set timedValue [ #timestamp := value ]

value

the corresponding value

getTimedValueValue :: MonadIO m => TimedValue -> m Double Source #

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

get timedValue #value

setTimedValueValue :: MonadIO m => TimedValue -> Double -> m () Source #

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

set timedValue [ #value := value ]