Package org.lwjgl.util.opus
Class OPDecodeCBFunc
- java.lang.Object
-
- org.lwjgl.system.Callback
-
- org.lwjgl.util.opus.OPDecodeCBFunc
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer,OPDecodeCBFuncI
public abstract class OPDecodeCBFunc extends org.lwjgl.system.Callback implements OPDecodeCBFuncI
Instances of this class may be passed to theOpusFile.op_set_decode_callback(long, org.lwjgl.util.opus.OPDecodeCBFuncI, long)method.Type
int (*OPDecodeCBFuncI.invoke(long, long, long, long, int, int, int, int)) ( void *_ctx, OpusMSDecoder *_decoder, void *_pcm, ogg_packet const *_op, int _nsamples, int _nchannels, int _format, int _li )
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.util.opus.OPDecodeCBFuncI
CIF
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OPDecodeCBFunccreate(long functionPointer)Creates aOPDecodeCBFuncinstance from the specified function pointer.static OPDecodeCBFunccreate(OPDecodeCBFuncI instance)Creates aOPDecodeCBFuncinstance that delegates to the specifiedOPDecodeCBFuncIinstance.static OPDecodeCBFunccreateSafe(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.OPDecodeCBFuncI
callback, getCallInterface, invoke
-
-
-
-
Method Detail
-
create
public static OPDecodeCBFunc create(long functionPointer)
Creates aOPDecodeCBFuncinstance from the specified function pointer.- Returns:
- the new
OPDecodeCBFunc
-
createSafe
@Nullable public static OPDecodeCBFunc createSafe(long functionPointer)
-
create
public static OPDecodeCBFunc create(OPDecodeCBFuncI instance)
Creates aOPDecodeCBFuncinstance that delegates to the specifiedOPDecodeCBFuncIinstance.
-
-