Package org.lwjgl.util.opus
Class OPEWriteFunc
- java.lang.Object
-
- org.lwjgl.system.Callback
-
- org.lwjgl.util.opus.OPEWriteFunc
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer,OPEWriteFuncI
public abstract class OPEWriteFunc extends org.lwjgl.system.Callback implements OPEWriteFuncI
Instances of this class may be set to theOpusEncCallbacks.Type
int (*OPEWriteFuncI.invoke(long, long, int)) ( void *user_data, unsigned char const *ptr, opus_int32 len )
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.util.opus.OPEWriteFuncI
CIF
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OPEWriteFunccreate(long functionPointer)Creates aOPEWriteFuncinstance from the specified function pointer.static OPEWriteFunccreate(OPEWriteFuncI instance)Creates aOPEWriteFuncinstance that delegates to the specifiedOPEWriteFuncIinstance.static OPEWriteFunccreateSafe(long functionPointer)-
Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
-
Methods inherited from interface org.lwjgl.util.opus.OPEWriteFuncI
callback, getCallInterface, invoke
-
-
-
-
Method Detail
-
create
public static OPEWriteFunc create(long functionPointer)
Creates aOPEWriteFuncinstance from the specified function pointer.- Returns:
- the new
OPEWriteFunc
-
createSafe
@Nullable public static OPEWriteFunc createSafe(long functionPointer)
-
create
public static OPEWriteFunc create(OPEWriteFuncI instance)
Creates aOPEWriteFuncinstance that delegates to the specifiedOPEWriteFuncIinstance.
-
-