|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcrystalspace.jbind.impl.csNativeObject
crystalspace.jbind.impl.csutil.scf.csBase
crystalspace.jbind.impl.sound.data.csSoundData
| Field Summary |
| Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
| Constructor Summary | |
csSoundData(iPointer nPointer)
|
|
| Method Summary | |
csSoundFormat |
getFormat()
Get the format of the sound data. |
java.lang.String |
getName()
Return the name of the interface |
iPointer |
getStaticData()
Get a pointer to the data buffer (static sounds only);. |
long |
getStaticSampleCount()
Get size of this sound in samples (static sounds only);. |
int |
getVersion()
Return the version of the interface |
boolean |
initialize(csSoundFormat fmt)
Prepare the sound for output using the given format. |
protected boolean |
isNativePointerValidSafe(long pointer)
|
boolean |
isStatic()
Return true if this is a static sound, false if it is streamed. |
iPointer |
readStreamed(long NumSamples)
Read a data buffer from the sound (streamed sounds only);. |
void |
resetStreamed()
Reset the sound to the beginning (streamed sounds only);. |
| Methods inherited from class crystalspace.jbind.impl.csutil.scf.csBase |
decRef, equals, finalize, getRefCount, incRef, nDelete, queryInterface, queryInterfaceSafe |
| Methods inherited from class crystalspace.jbind.impl.csNativeObject |
changePointer, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, newNativeObject, setMemoryOwner, toString |
| Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getRefCount, incRef, queryInterface, queryInterfaceSafe |
| Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
| Constructor Detail |
public csSoundData(iPointer nPointer)
nPointer - | Method Detail |
public int getVersion()
iBase
getVersion in interface iBasegetVersion in class csBaseiBase.getVersion()public java.lang.String getName()
iBase
getName in interface iBasegetName in class csBaseiBase.getName()protected boolean isNativePointerValidSafe(long pointer)
isNativePointerValidSafe in class csNativeObjectcsNativeObject.isNativePointerValidSafe(long)public csSoundFormat getFormat()
iSoundData
getFormat in interface iSoundDataiSoundData.getFormat()public iPointer getStaticData()
iSoundData
getStaticData in interface iSoundDataiSoundData.getStaticData()public long getStaticSampleCount()
iSoundData
getStaticSampleCount in interface iSoundDataiSoundData.getStaticSampleCount()public boolean initialize(csSoundFormat fmt)
iSoundData
initialize in interface iSoundDatafmt -
iSoundData.initialize(crystalspace.jbind.impl.sound.data.csSoundFormat)public boolean isStatic()
iSoundData
isStatic in interface iSoundDataiSoundData.isStatic()public iPointer readStreamed(long NumSamples)
iSoundData
readStreamed in interface iSoundDataNumSamples -
iSoundData.readStreamed(long)public void resetStreamed()
iSoundData
resetStreamed in interface iSoundDataiSoundData.resetStreamed()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||