GstDParamSmooth

GstDParamSmooth — realtime smoothed dynamic parameter

Synopsis


#include <libs/control/control.h>


            GstDParamSmooth;
GstDParam*  gst_dpsmooth_new                (GType type);


Object Hierarchy


  GObject
   +----GstObject
         +----GstDParam
               +----GstDParamSmooth

Properties


  "slope-delta-double"   gdouble               : Read / Write
  "slope-delta-float"    gfloat                : Read / Write
  "slope-time"           gint64                : Read / Write
  "update-period"        gint64                : Read / Write

Description

Details

GstDParamSmooth

typedef struct _GstDParamSmooth GstDParamSmooth;


gst_dpsmooth_new ()

GstDParam*  gst_dpsmooth_new                (GType type);

Create a new dynamic parameter controller which smoothes control changes.

type : the type that this dparam will store
Returns : a new instance of GstDParam

Properties

The "slope-delta-double" property

  "slope-delta-double"   gdouble               : Read / Write

The amount a double value can change for a given slope_time.

Allowed values: >= 0

Default value: 0.2


The "slope-delta-float" property

  "slope-delta-float"    gfloat                : Read / Write

The amount a float value can change for a given slope_time.

Allowed values: >= 0

Default value: 0.2


The "slope-time" property

  "slope-time"           gint64                : Read / Write

The time period to define slope_delta by.

Allowed values: >= 0

Default value: 10000000


The "update-period" property

  "update-period"        gint64                : Read / Write

Number of nanoseconds between updates.

Allowed values: >= 0

Default value: 2000000