Package org.freedesktop.gstreamer.base
Class PushSrc.PushSrcClass
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.base.BaseSrc.BaseSrcClass
org.freedesktop.gstreamer.base.PushSrc.PushSrcClass
- All Implemented Interfaces:
Proxy
- Direct Known Subclasses:
AudioBaseSrc.AudioBaseSrcClass
,AudioCdSrc.AudioCdSrcClass
- Enclosing class:
PushSrc
Subclasses can override any of the available virtual methods or not, as
needed. At the minimum, the
fill
method should be overridden to produce
buffers.-
Constructor Summary
ConstructorDescriptionAllocate a new PushSrcClass.PushSrcClass
(Arena arena) Allocate a new PushSrcClass.PushSrcClass
(MemorySegment address) Create a PushSrcClass proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.void
overrideAlloc
(Arena arena, Method method) Override virtual methodalloc
.void
overrideCreate
(Arena arena, Method method) Override virtual methodcreate
.void
overrideFill
(Arena arena, Method method) Override virtual methodfill
.Methods inherited from class org.freedesktop.gstreamer.base.BaseSrc.BaseSrcClass
overrideDecideAllocation, overrideDoSeek, overrideEvent, overrideFixate, overrideGetCaps, overrideGetSize, overrideGetTimes, overrideIsSeekable, overrideNegotiate, overridePrepareSeekSegment, overrideQuery, overrideSetCaps, overrideStart, overrideStop, overrideUnlock, overrideUnlockStop
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, 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
-
PushSrcClass
Create a PushSrcClass proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
PushSrcClass
Allocate a new PushSrcClass.- Parameters:
arena
- to control the memory allocation scope
-
PushSrcClass
public PushSrcClass()Allocate a new PushSrcClass. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideCreate
Override virtual methodcreate
.- Overrides:
overrideCreate
in classBaseSrc.BaseSrcClass
- Parameters:
method
- the method to invoke
-
overrideAlloc
Override virtual methodalloc
.- Overrides:
overrideAlloc
in classBaseSrc.BaseSrcClass
- Parameters:
method
- the method to invoke
-
overrideFill
Override virtual methodfill
.- Overrides:
overrideFill
in classBaseSrc.BaseSrcClass
- Parameters:
method
- the method to invoke
-