Package org.freedesktop.gstreamer.audio
Class AudioEncoder.AudioEncoderClass
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.gobject.TypeClass
org.gnome.gobject.GObject.ObjectClass
org.gnome.gobject.InitiallyUnowned.InitiallyUnownedClass
org.freedesktop.gstreamer.gst.GstObject.ObjectClass
org.freedesktop.gstreamer.gst.Element.ElementClass
org.freedesktop.gstreamer.audio.AudioEncoder.AudioEncoderClass
- All Implemented Interfaces:
Proxy
- Enclosing class:
AudioEncoder
Subclasses can override any of the available virtual methods or not, as
needed. At minimum
setFormat
and handleFrame
needs to be overridden.-
Constructor Summary
ConstructorDescriptionAllocate a new AudioEncoderClass.AudioEncoderClass
(Arena arena) Allocate a new AudioEncoderClass.AudioEncoderClass
(MemorySegment address) Create a AudioEncoderClass proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.void
overrideClose
(Arena arena, Method method) Override virtual methodclose
.void
overrideDecideAllocation
(Arena arena, Method method) Override virtual methoddecide_allocation
.void
overrideFlush
(Arena arena, Method method) Override virtual methodflush
.void
overrideGetcaps
(Arena arena, Method method) Override virtual methodgetcaps
.void
overrideHandleFrame
(Arena arena, Method method) Override virtual methodhandle_frame
.void
overrideNegotiate
(Arena arena, Method method) Override virtual methodnegotiate
.void
overrideOpen
(Arena arena, Method method) Override virtual methodopen
.void
overridePrePush
(Arena arena, Method method) Override virtual methodpre_push
.void
overrideProposeAllocation
(Arena arena, Method method) Override virtual methodpropose_allocation
.void
overrideSetFormat
(Arena arena, Method method) Override virtual methodset_format
.void
overrideSinkEvent
(Arena arena, Method method) Override virtual methodsink_event
.void
overrideSinkQuery
(Arena arena, Method method) Override virtual methodsink_query
.void
overrideSrcEvent
(Arena arena, Method method) Override virtual methodsrc_event
.void
overrideSrcQuery
(Arena arena, Method method) Override virtual methodsrc_query
.void
overrideStart
(Arena arena, Method method) Override virtual methodstart
.void
overrideStop
(Arena arena, Method method) Override virtual methodstop
.void
overrideTransformMeta
(Arena arena, Method method) Override virtual methodtransform_meta
.Methods inherited from class org.freedesktop.gstreamer.gst.Element.ElementClass
addMetadata, addPadTemplate, addStaticMetadata, addStaticPadTemplate, addStaticPadTemplateWithGtype, getMetadata, getPadTemplate, getPadTemplateList, overrideChangeState, overrideGetState, overrideNoMorePads, overridePadAdded, overridePadRemoved, overridePostMessage, overrideProvideClock, overrideQuery, overrideReleasePad, overrideRequestNewPad, overrideSendEvent, overrideSetBus, overrideSetClock, overrideSetContext, overrideSetState, overrideStateChanged, readElementfactory, readMetadata, readNumpadtemplates, readPadTemplCookie, setMetadata, setStaticMetadata, writeElementfactory, writeMetadata, writeNumpadtemplates, writePadTemplCookie
Methods inherited from class org.freedesktop.gstreamer.gst.GstObject.ObjectClass
overrideDeepNotify, readPathStringSeparator, writePathStringSeparator
Methods inherited from class org.gnome.gobject.GObject.ObjectClass
findProperty, installProperties, installProperty, listProperties, overrideConstructed, overrideConstructor, overrideDispatchPropertiesChanged, overrideDispose, overrideFinalize, overrideGetProperty, overrideNotify, overrideProperty, overrideSetProperty, readFlags, readNConstructProperties, readNPspecs, readPdummy, readPspecs, writeFlags, writeNConstructProperties, writeNPspecs, writePdummy, writePspecs
Methods inherited from class org.gnome.gobject.TypeClass
addPrivate, adjustPrivateOffset, getInstancePrivateOffset, getPrivate, peek, peekParent, peekStatic, readGType, ref, unref, unrefUncached, writeGType
Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
AudioEncoderClass
Create a AudioEncoderClass proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
AudioEncoderClass
Allocate a new AudioEncoderClass.- Parameters:
arena
- to control the memory allocation scope
-
AudioEncoderClass
public AudioEncoderClass()Allocate a new AudioEncoderClass. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideStart
-
overrideStop
-
overrideSetFormat
-
overrideHandleFrame
-
overrideFlush
-
overridePrePush
-
overrideSinkEvent
-
overrideSrcEvent
-
overrideGetcaps
-
overrideOpen
-
overrideClose
-
overrideNegotiate
-
overrideDecideAllocation
-
overrideProposeAllocation
-
overrideTransformMeta
-
overrideSinkQuery
-
overrideSrcQuery
-