void * (*invoke) (
ALvoid *userptr,
ALvoid *sampledata,
ALsizei numbytes
)
| Modifier and Type | Method and Description |
|---|---|
| public default void | callback(long
a pointer to the memory used for the function's return value.
ret, long If the function is declared as returning Otherwise, the callback must fill the object to which this points, following the same special promotion behavior as
a vector of pointers to memory holding the arguments to the function args)Implements org. |
| public default FFICIF | getCallInterface()
Implements org. |
| public long | Returns: the number of bytes actually written, which must be equal to or less thannumbytes.
If the return value is less than the same pointer provided to userptr, long BufferCallbackSOFTa pointer to the sample data buffer that should be filled in by the function sampledata, int the number of bytes needed to fill the sample data buffer for this invocation.
numbytes)Guaranteed to be greater than 0 and a multiple of the frame size for the format.
|
| CIF | back to summary |
|---|---|
| public static final FFICIF CIF | |
| callback | back to summary |
|---|---|
| public default void callback(long ret, long args) Implements org. Doc from org. The Java method that will be called from native code when the native callback function is invoked.
| |
| getCallInterface | back to summary |
|---|---|
| public default FFICIF getCallInterface() Implements org. Doc from org. Returns the libffi Call Interface for this callback function. [INTERNAL API] | |
| invoke | back to summary |
|---|---|
public long invoke(long userptr, long sampledata, int numbytes)
| |