|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jouvieje.fmodex.utils.Pointer
org.jouvieje.fmodex.structures.FMOD_CODEC_STATE
| Constructor Summary | |
FMOD_CODEC_STATE()
Create an object that holds a null FMOD_CODEC_STATE. |
|
| Method Summary | |
static FMOD_CODEC_STATE |
allocate()
Allocate a new FMOD_CODEC_STATE. |
static FMOD_CODEC_STATE |
asFMOD_CODEC_STATE(Pointer pointer)
Create a view of the Pointer object as a FMOD_CODEC_STATE object. |
Pointer |
getFileHandle()
[out] This will return an internal FMOD file handle to use with the callbacks provided. |
int |
getFileSize()
[out] This will contain the size of the file in bytes. |
int |
getNumSubsounds()
[in] Number of 'subsounds' in this sound. |
Pointer |
getPluginData()
[in] Plugin writer created data the codec author wants to attach to this object. |
FMOD_CODEC_WAVEFORMAT |
getWaveFormat()
[in] Pointer to an array of format structures containing information about each sample. |
FMOD_RESULT |
invokeFileRead(Pointer handle,
java.nio.ByteBuffer buffer,
int sizebytes,
java.nio.IntBuffer bytesread,
Pointer userdata)
Invoke an internal FMOD callback. |
FMOD_RESULT |
invokeFileSeek(Pointer handle,
int pos,
Pointer userdata)
Invoke an internal FMOD callback. |
FMOD_RESULT |
invokeMetadata(FMOD_CODEC_STATE codec_state,
FMOD_TAGTYPE tagtype,
java.lang.String name,
Pointer data,
int datalen,
FMOD_TAGDATATYPE datatype,
int unique)
Invoke an internal FMOD callback. |
void |
release()
|
void |
setNumSubsounds(int numSubsounds)
[in] Number of 'subsounds' in this sound. |
void |
setPluginData(Pointer pluginData)
[in] Plugin writer created data the codec author wants to attach to this object. |
void |
setWaveFormat(FMOD_CODEC_WAVEFORMAT waveFormat)
[in] Pointer to an array of format structures containing information about each sample. |
| Methods inherited from class org.jouvieje.fmodex.utils.Pointer |
asByteBuffer, asDouble, asFloat, asInt, asLong, asPointer, asString, asString, equals, isNull, shareMemory |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FMOD_CODEC_STATE()
FMOD_CODEC_STATE.isNull() on the object created will returns true. FMOD_CODEC_STATE obj = new FMOD_CODEC_STATE();
(obj == null) <=> false
obj.isNull() <=> true
To creates a new FMOD_CODEC_STATE, use the static "constructor" :
FMOD_CODEC_STATE obj = FMOD_CODEC_STATE.allocate();
allocate()| Method Detail |
public static FMOD_CODEC_STATE asFMOD_CODEC_STATE(Pointer pointer)
Pointer object as a FMOD_CODEC_STATE object.Pointer holds a FMOD_CODEC_STATE object.
public static FMOD_CODEC_STATE allocate()
FMOD_CODEC_STATE.isNull() on the object created will return false. FMOD_CODEC_STATE obj = FMOD_CODEC_STATE.allocate();
(obj == null) <=> obj.isNull() <=> false
public void release()
public int getNumSubsounds()
public void setNumSubsounds(int numSubsounds)
public FMOD_CODEC_WAVEFORMAT getWaveFormat()
public void setWaveFormat(FMOD_CODEC_WAVEFORMAT waveFormat)
public Pointer getPluginData()
public void setPluginData(Pointer pluginData)
public Pointer getFileHandle()
public int getFileSize()
public FMOD_RESULT invokeFileRead(Pointer handle,
java.nio.ByteBuffer buffer,
int sizebytes,
java.nio.IntBuffer bytesread,
Pointer userdata)
public FMOD_RESULT invokeFileSeek(Pointer handle,
int pos,
Pointer userdata)
public FMOD_RESULT invokeMetadata(FMOD_CODEC_STATE codec_state,
FMOD_TAGTYPE tagtype,
java.lang.String name,
Pointer data,
int datalen,
FMOD_TAGDATATYPE datatype,
int unique)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||