|
|||||||||||
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_DESCRIPTION
Constructor Summary | |
FMOD_CODEC_DESCRIPTION()
Create an object that holds a null FMOD_CODEC_DESCRIPTION . |
Method Summary | |
static FMOD_CODEC_DESCRIPTION |
allocate()
Allocate a new FMOD_CODEC_DESCRIPTION . |
static FMOD_CODEC_DESCRIPTION |
asFMOD_CODEC_DESCRIPTION(Pointer pointer)
Create a view of the Pointer object as a FMOD_CODEC_DESCRIPTION object. |
FMOD_CODEC_CLOSECALLBACK |
getClose()
[in] Close callback for the codec for when FMOD tries to close a sound using this codec. |
int |
getDefaultAsStream()
[in] Tells FMOD to open the file as a stream when calling System::createSound, and not a static sample. |
FMOD_CODEC_GETLENGTHCALLBACK |
getGetLength()
[in] Callback to return the length of the song in whatever format required when Sound::getLength is called. |
FMOD_CODEC_GETPOSITIONCALLBACK |
getGetPosition()
[in] Tell callback for the codec for when FMOD tries to get the current position within the with Channel::getPosition. |
FMOD_CODEC_GETWAVEFORMAT |
getGetWaveFormat()
[in] Callback to tell FMOD about the waveformat of a particular subsound. |
java.lang.String |
getName()
[in] Name of the codec. |
FMOD_CODEC_OPENCALLBACK |
getOpen()
[in] Open callback for the codec for when FMOD tries to open a sound using this codec. |
FMOD_CODEC_READCALLBACK |
getRead()
[in] Read callback for the codec for when FMOD tries to read some data from the file to the destination format (specified in the open callback). |
FMOD_CODEC_SETPOSITIONCALLBACK |
getSetPosition()
[in] Seek callback for the codec for when FMOD tries to seek within the file with Channel::setPosition. |
FMOD_CODEC_SOUNDCREATECALLBACK |
getSoundCreate()
[in] Sound creation callback for the codec when FMOD finishes creating the sound. |
int |
getTimeUnits()
[in] When setposition codec is called, only these time formats will be passed to the codec. |
int |
getVersion()
[in] Plugin writer's version number. |
void |
release()
|
void |
setClose(FMOD_CODEC_CLOSECALLBACK close)
[in] Close callback for the codec for when FMOD tries to close a sound using this codec. |
void |
setDefaultAsStream(int defaultAsStream)
[in] Tells FMOD to open the file as a stream when calling System::createSound, and not a static sample. |
void |
setGetLength(FMOD_CODEC_GETLENGTHCALLBACK getLength)
[in] Callback to return the length of the song in whatever format required when Sound::getLength is called. |
void |
setGetPosition(FMOD_CODEC_GETPOSITIONCALLBACK getPosition)
[in] Tell callback for the codec for when FMOD tries to get the current position within the with Channel::getPosition. |
void |
setGetWaveFormat(FMOD_CODEC_GETWAVEFORMAT getWaveFormat)
[in] Callback to tell FMOD about the waveformat of a particular subsound. |
void |
setName(java.lang.String name)
[in] Name of the codec. |
void |
setOpen(FMOD_CODEC_OPENCALLBACK open)
[in] Open callback for the codec for when FMOD tries to open a sound using this codec. |
void |
setRead(FMOD_CODEC_READCALLBACK read)
[in] Read callback for the codec for when FMOD tries to read some data from the file to the destination format (specified in the open callback). |
void |
setSetPosition(FMOD_CODEC_SETPOSITIONCALLBACK setPosition)
[in] Seek callback for the codec for when FMOD tries to seek within the file with Channel::setPosition. |
void |
setSoundCreate(FMOD_CODEC_SOUNDCREATECALLBACK soundCreate)
[in] Sound creation callback for the codec when FMOD finishes creating the sound. |
void |
setTimeUnits(int timeUnits)
[in] When setposition codec is called, only these time formats will be passed to the codec. |
void |
setVersion(int version)
[in] Plugin writer's version number. |
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_DESCRIPTION()
FMOD_CODEC_DESCRIPTION
.isNull()
on the object created will returns true. FMOD_CODEC_DESCRIPTION obj = new FMOD_CODEC_DESCRIPTION();
(obj == null) <=> false
obj.isNull() <=> true
To creates a new FMOD_CODEC_DESCRIPTION
, use the static "constructor" :
FMOD_CODEC_DESCRIPTION obj = FMOD_CODEC_DESCRIPTION.allocate();
allocate()
Method Detail |
public static FMOD_CODEC_DESCRIPTION asFMOD_CODEC_DESCRIPTION(Pointer pointer)
Pointer
object as a FMOD_CODEC_DESCRIPTION
object.Pointer
holds a FMOD_CODEC_DESCRIPTION object.
public static FMOD_CODEC_DESCRIPTION allocate()
FMOD_CODEC_DESCRIPTION
.isNull()
on the object created will return false. FMOD_CODEC_DESCRIPTION obj = FMOD_CODEC_DESCRIPTION.allocate();
(obj == null) <=> obj.isNull() <=> false
public void release()
public java.lang.String getName()
public void setName(java.lang.String name)
public int getVersion()
public void setVersion(int version)
public int getDefaultAsStream()
public void setDefaultAsStream(int defaultAsStream)
public int getTimeUnits()
public void setTimeUnits(int timeUnits)
public FMOD_CODEC_OPENCALLBACK getOpen()
public void setOpen(FMOD_CODEC_OPENCALLBACK open)
public FMOD_CODEC_CLOSECALLBACK getClose()
public void setClose(FMOD_CODEC_CLOSECALLBACK close)
public FMOD_CODEC_READCALLBACK getRead()
public void setRead(FMOD_CODEC_READCALLBACK read)
public FMOD_CODEC_GETLENGTHCALLBACK getGetLength()
public void setGetLength(FMOD_CODEC_GETLENGTHCALLBACK getLength)
public FMOD_CODEC_SETPOSITIONCALLBACK getSetPosition()
public void setSetPosition(FMOD_CODEC_SETPOSITIONCALLBACK setPosition)
public FMOD_CODEC_GETPOSITIONCALLBACK getGetPosition()
public void setGetPosition(FMOD_CODEC_GETPOSITIONCALLBACK getPosition)
public FMOD_CODEC_SOUNDCREATECALLBACK getSoundCreate()
public void setSoundCreate(FMOD_CODEC_SOUNDCREATECALLBACK soundCreate)
public FMOD_CODEC_GETWAVEFORMAT getGetWaveFormat()
public void setGetWaveFormat(FMOD_CODEC_GETWAVEFORMAT getWaveFormat)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |