|
|||||||||||
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_WAVEFORMAT
Constructor Summary | |
FMOD_CODEC_WAVEFORMAT()
Create an object that holds a null FMOD_CODEC_WAVEFORMAT . |
Method Summary | |
static FMOD_CODEC_WAVEFORMAT |
allocate()
Allocate a new FMOD_CODEC_WAVEFORMAT . |
static FMOD_CODEC_WAVEFORMAT |
asFMOD_CODEC_WAVEFORMAT(Pointer pointer)
Create a view of the Pointer object as a FMOD_CODEC_WAVEFORMAT object. |
int |
getBlockAlign()
[in] Blockalign in decompressed, PCM samples of the optimal decode chunk size for this format. |
int |
getChannelMask()
[in] Microsoft speaker channel mask, as defined for WAVEFORMATEXTENSIBLE and is found in ksmedia.h. |
int |
getChannels()
[in] Number of channels used by codec, ie mono = 1, stereo = 2. |
FMOD_SOUND_FORMAT |
getFormat()
[in] Format for (decompressed) codec output, ie FMOD_SOUND_FORMAT_PCM8, FMOD_SOUND_FORMAT_PCM16. |
int |
getFrequency()
[in] Default frequency in hz of the codec, ie 44100. |
int |
getLengthBytes()
[in] Length in bytes of the source data. |
int |
getLengthPCM()
[in] Length in decompressed, PCM samples of the file, ie length in seconds * frequency. |
int |
getLoopEnd()
[in] Loopend in decompressed, PCM samples of file. |
int |
getLoopStart()
[in] Loopstart in decompressed, PCM samples of file. |
int |
getMode()
[in] Mode to determine whether the sound should by default load as looping, non looping, 2d or 3d. |
java.nio.CharBuffer |
getName()
[in] Name of sound. |
void |
release()
|
void |
setBlockAlign(int blockAlign)
[in] Blockalign in decompressed, PCM samples of the optimal decode chunk size for this format. |
void |
setChannelMask(int channelMask)
[in] Microsoft speaker channel mask, as defined for WAVEFORMATEXTENSIBLE and is found in ksmedia.h. |
void |
setChannels(int channels)
[in] Number of channels used by codec, ie mono = 1, stereo = 2. |
void |
setFormat(FMOD_SOUND_FORMAT format)
[in] Format for (decompressed) codec output, ie FMOD_SOUND_FORMAT_PCM8, FMOD_SOUND_FORMAT_PCM16. |
void |
setFrequency(int frequency)
[in] Default frequency in hz of the codec, ie 44100. |
void |
setLengthBytes(int lengthBytes)
[in] Length in bytes of the source data. |
void |
setLengthPCM(int lengthPCM)
[in] Length in decompressed, PCM samples of the file, ie length in seconds * frequency. |
void |
setLoopEnd(int loopEnd)
[in] Loopend in decompressed, PCM samples of file. |
void |
setLoopStart(int loopStart)
[in] Loopstart in decompressed, PCM samples of file. |
void |
setMode(int mode)
[in] Mode to determine whether the sound should by default load as looping, non looping, 2d or 3d. |
void |
setName(java.lang.String name)
[in] Name of sound. |
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_WAVEFORMAT()
FMOD_CODEC_WAVEFORMAT
.isNull()
on the object created will returns true. FMOD_CODEC_WAVEFORMAT obj = new FMOD_CODEC_WAVEFORMAT();
(obj == null) <=> false
obj.isNull() <=> true
To creates a new FMOD_CODEC_WAVEFORMAT
, use the static "constructor" :
FMOD_CODEC_WAVEFORMAT obj = FMOD_CODEC_WAVEFORMAT.allocate();
allocate()
Method Detail |
public static FMOD_CODEC_WAVEFORMAT asFMOD_CODEC_WAVEFORMAT(Pointer pointer)
Pointer
object as a FMOD_CODEC_WAVEFORMAT
object.Pointer
holds a FMOD_CODEC_WAVEFORMAT object.
public static FMOD_CODEC_WAVEFORMAT allocate()
FMOD_CODEC_WAVEFORMAT
.isNull()
on the object created will return false. FMOD_CODEC_WAVEFORMAT obj = FMOD_CODEC_WAVEFORMAT.allocate();
(obj == null) <=> obj.isNull() <=> false
public void release()
public java.nio.CharBuffer getName()
public void setName(java.lang.String name)
public FMOD_SOUND_FORMAT getFormat()
public void setFormat(FMOD_SOUND_FORMAT format)
public int getChannels()
public void setChannels(int channels)
public int getFrequency()
public void setFrequency(int frequency)
public int getLengthBytes()
public void setLengthBytes(int lengthBytes)
public int getLengthPCM()
public void setLengthPCM(int lengthPCM)
public int getBlockAlign()
public void setBlockAlign(int blockAlign)
public int getLoopStart()
public void setLoopStart(int loopStart)
public int getLoopEnd()
public void setLoopEnd(int loopEnd)
public int getMode()
public void setMode(int mode)
public int getChannelMask()
public void setChannelMask(int channelMask)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |