Package org.freedesktop.gstreamer.audio
Enum Class AudioBaseSinkDiscontReason
java.lang.Object
java.lang.Enum<AudioBaseSinkDiscontReason>
org.freedesktop.gstreamer.audio.AudioBaseSinkDiscontReason
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<AudioBaseSinkDiscontReason>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum AudioBaseSinkDiscontReason
extends Enum<AudioBaseSinkDiscontReason>
implements Enumeration
Different possible reasons for discontinuities. This enum is useful for the custom
slave method.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAligning buffers failed because the timestamps are too discontinuousAudio output device experienced and recovered from an error but introduced latency in the process (see also gst_audio_base_sink_report_device_failure())Samples have been flushedNew caps are set, causing renegotiotionNo discontinuity occurredSink was synchronized to the estimated latency (occurs during initialization) -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the AudioBaseSinkDiscontReason classint
getValue()
Get the numeric value of this enumstatic AudioBaseSinkDiscontReason
of
(int value) Create a new AudioBaseSinkDiscontReason for the provided valuestatic AudioBaseSinkDiscontReason
Returns the enum constant of this class with the specified name.static AudioBaseSinkDiscontReason[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_DISCONT
No discontinuity occurred -
NEW_CAPS
New caps are set, causing renegotiotion -
FLUSH
Samples have been flushed -
SYNC_LATENCY
Sink was synchronized to the estimated latency (occurs during initialization) -
ALIGNMENT
Aligning buffers failed because the timestamps are too discontinuous -
DEVICE_FAILURE
Audio output device experienced and recovered from an error but introduced latency in the process (see also gst_audio_base_sink_report_device_failure())
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Create a new AudioBaseSinkDiscontReason for the provided value- Parameters:
value
- the enum value- Returns:
- the enum for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-
getType
Get the GType of the AudioBaseSinkDiscontReason class- Returns:
- the GType
-