public class ControlSource extends GstObject
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstControlSource.html
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ControlSource.Handle |
static class |
ControlSource.TimedValue
A simple structure for saving a timestamp and a value.
|
GObject.GCallback, GObject.GInterfaceNativeObject.Initializer, NativeObject.TypeProvider, NativeObject.TypeRegistration<T extends NativeObject>| Modifier and Type | Field and Description |
|---|---|
static String |
GTYPE_NAME |
| Modifier | Constructor and Description |
|---|---|
protected |
ControlSource(ControlSource.Handle handle,
boolean needRef) |
| Modifier and Type | Method and Description |
|---|---|
double |
getValue(long timestamp)
Gets the value for this ControlSource at a given timestamp.
|
boolean |
getValueArray(long timestamp,
long interval,
double[] values)
Gets an array of values for for this ControlSource.
|
addControlBinding, 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
protected ControlSource(ControlSource.Handle handle, boolean needRef)
public double getValue(long timestamp)
timestamp - the time for which the value should be returnedIllegalStateException - if the value could not be calculatedpublic boolean getValueArray(long timestamp,
long interval,
double[] values)
timestamp - the first timestampinterval - the time stepsvalues - array to put control-values inCopyright © 2021 gstreamer-java. All rights reserved.