public class TriggerControlSource extends TimedValueControlSource
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer-libs/html/GstTriggerControlSource.html
TriggerControlSource is a ControlSource, that returns values from
user-given control points. It allows for a tolerance on time-stamps.
To use TriggerControlSource create a new instance, bind it to a GParamSpec
and set some control points by calling
TimedValueControlSource.set(long, double).
All functions are MT-safe.
ControlSource.TimedValueGObject.GCallback, GObject.GInterfaceNativeObject.Initializer, NativeObject.TypeProvider, NativeObject.TypeRegistration<T extends NativeObject>| Modifier and Type | Field and Description |
|---|---|
static String |
GTYPE_NAME |
| Constructor and Description |
|---|
TriggerControlSource()
Create a new, unbound InterpolationControlSource.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getTolerance()
Current tolerance in nanoseconds.
|
TriggerControlSource |
setTolerance(long tolerance)
Amount of nanoseconds a control time can be off to still trigger.
|
getAll, getCount, invalidateCache, set, setFromList, unset, unsetAllgetValue, getValueArrayaddControlBinding, getAsString, getControlBinding, getName, getParent, hasActiveControlBindings, removeControlBinding, setAsString, setControlBindingDisabled, setControlBindingsDisabled, setName, suggestNextSync, syncValues, toStringaddCallback, connect, connect, disconnect, dispose, emit, emit, get, getPropertyDefaultValue, getPropertyMaximumValue, getPropertyMinimumValue, getRefCount, getTypeName, invalidate, listPropertyNames, removeCallback, setclose, disown, equals, getPointer, getRawPointer, hashCodepublic static final String GTYPE_NAME
public TriggerControlSource()
public TriggerControlSource setTolerance(long tolerance)
Allowed values: >= 0
Default value: 0
tolerance - in nanosecondspublic long getTolerance()
Copyright © 2021 gstreamer-java. All rights reserved.