public class BufferSizeEvent extends Event
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstEvent.html#gst-event-new-buffer-size
When the async flag is set, a thread boundary is preferred.
Event.TypesMiniObject.HandleNativeObject.Initializer, NativeObject.TypeProvider, NativeObject.TypeRegistration<T extends NativeObject>GTYPE_NAME| Constructor and Description |
|---|
BufferSizeEvent(Format format,
long minsize,
long maxsize,
boolean async)
Creates a new buffersize event.
|
| Modifier and Type | Method and Description |
|---|---|
Format |
getFormat()
Gets the format of the buffersize event.
|
long |
getMaximumSize()
Gets the maximum buffer size.
|
long |
getMinimumSize()
Gets the minimum buffer size.
|
boolean |
isAsync()
Gets the preferred thread behaviour.
|
getStructurecopy, getRefCount, isWritable, makeWritableclose, disown, dispose, equals, getPointer, getRawPointer, hashCode, invalidate, toStringpublic BufferSizeEvent(Format format, long minsize, long maxsize, boolean async)
The event is sent downstream and notifies elements that they should provide a buffer of the specified dimensions.
When the async flag is set, a thread boundary is preferred.
format - buffer formatminsize - minimum buffer sizemaxsize - maximum buffer sizeasync - thread behaviourpublic Format getFormat()
public long getMinimumSize()
public long getMaximumSize()
public boolean isAsync()
Copyright © 2021 gstreamer-java. All rights reserved.