Package org.freedesktop.gstreamer.audio
Enum Class AudioRingBufferFormatType
- All Implemented Interfaces:
Serializable
,Comparable<AudioRingBufferFormatType>
,Constable
,Enumeration
@Generated("io.github.jwharm.JavaGI")
public enum AudioRingBufferFormatType
extends Enum<AudioRingBufferFormatType>
implements Enumeration
The format of the samples in the ringbuffer.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionsamples in alawsamples in AC3 formatsamples in DSD format (Since: 1.24)samples in DTS formatsamples in EAC3 formatsamples in FLAC format (Since: 1.12)samples in gsm formatsamples in IEC958 frames (e.g.samples in ima adpcmsamples in mpeg audio (but not AAC) formatsamples in MPEG-2 AAC ADTS formatsamples in MPEG-2 AAC raw format (Since: 1.12)samples in MPEG-4 AAC ADTS formatsamples in MPEG-4 AAC raw format (Since: 1.12)samples in mulawsamples in linear or float -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the AudioRingBufferFormatType classint
getValue()
Get the numeric value of this enumstatic AudioRingBufferFormatType
of
(int value) Create a new AudioRingBufferFormatType for the provided valuestatic AudioRingBufferFormatType
Returns the enum constant of this class with the specified name.static AudioRingBufferFormatType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RAW
samples in linear or float -
MU_LAW
samples in mulaw -
A_LAW
samples in alaw -
IMA_ADPCM
samples in ima adpcm -
MPEG
samples in mpeg audio (but not AAC) format -
GSM
samples in gsm format -
IEC958
samples in IEC958 frames (e.g. AC3) -
AC3
samples in AC3 format -
EAC3
samples in EAC3 format -
DTS
samples in DTS format -
MPEG2_AAC
samples in MPEG-2 AAC ADTS format -
MPEG4_AAC
samples in MPEG-4 AAC ADTS format -
MPEG2_AAC_RAW
samples in MPEG-2 AAC raw format (Since: 1.12) -
MPEG4_AAC_RAW
samples in MPEG-4 AAC raw format (Since: 1.12) -
FLAC
samples in FLAC format (Since: 1.12) -
DSD
samples in DSD format (Since: 1.24)
-
-
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 AudioRingBufferFormatType 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 AudioRingBufferFormatType class- Returns:
- the GType
-