Package org.freedesktop.gstreamer.audio
Class AudioBaseSrc.Builder<B extends AudioBaseSrc.Builder<B>>
java.lang.Object
io.github.jwharm.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.gobject.InitiallyUnowned.Builder<B>
org.freedesktop.gstreamer.gst.GstObject.Builder<B>
org.freedesktop.gstreamer.gst.Element.Builder<B>
org.freedesktop.gstreamer.base.BaseSrc.Builder<B>
org.freedesktop.gstreamer.base.PushSrc.Builder<B>
org.freedesktop.gstreamer.audio.AudioBaseSrc.Builder<B>
- Type Parameters:
B
- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Direct Known Subclasses:
AudioSrc.Builder
- Enclosing class:
AudioBaseSrc
public static class AudioBaseSrc.Builder<B extends AudioBaseSrc.Builder<B>>
extends PushSrc.Builder<B>
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finish building theAudioBaseSrc
object.setBufferTime
(long bufferTime) setLatencyTime
(long latencyTime) setProvideClock
(boolean provideClock) setSlaveMethod
(AudioBaseSrcSlaveMethod slaveMethod) Methods inherited from class org.freedesktop.gstreamer.base.BaseSrc.Builder
setAutomaticEos, setBlocksize, setDoTimestamp, setNumBuffers, setTypefind
Methods inherited from class org.freedesktop.gstreamer.gst.Element.Builder
onNoMorePads, onPadAdded, onPadRemoved
Methods inherited from class org.freedesktop.gstreamer.gst.GstObject.Builder
onDeepNotify, setName, setParent
Methods inherited from class org.gnome.gobject.GObject.Builder
onNotify
Methods inherited from class io.github.jwharm.javagi.gobject.Builder
addBuilderProperty, connect, connect, connectSignals, getArena, getNames, getValues
-
Constructor Details
-
Builder
protected Builder()Default constructor for aBuilder
object.
-
-
Method Details
-
build
Finish building theAudioBaseSrc
object. This will callGObject.withProperties(org.gnome.glib.Type, java.lang.String[], org.gnome.gobject.Value[])
to create a new GObject instance, which is then cast toAudioBaseSrc
.- Overrides:
build
in classPushSrc.Builder<B extends AudioBaseSrc.Builder<B>>
- Returns:
- a new instance of
AudioBaseSrc
with the properties that were set in the Builder object.
-
setBufferTime
-
setLatencyTime
-
setProvideClock
-
setSlaveMethod
-