|
|||||||||||
| 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.handle.csSoundHandle
| Field Summary |
| Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
| Constructor Summary | |
csSoundHandle(iPointer nPointer)
|
|
| Method Summary | |
iSoundSource |
createSource(int Mode3d)
create a sound source |
java.lang.String |
getName()
Return the name of the interface |
int |
getVersion()
Return the version of the interface |
protected boolean |
isNativePointerValidSafe(long pointer)
|
boolean |
isStatic()
is this a static or streamed handle? |
iSoundSource |
play()
play an instance of this sound For Loop == true it returns a iSoundSource you have to Stop (); if you want to get rid of the looping sound (also if you want to unload your SoundRenderer); If Loop is false 0 is returned |
iSoundSource |
play(boolean Loop)
play an instance of this sound For Loop == true it returns a iSoundSource you have to Stop (); if you want to get rid of the looping sound (also if you want to unload your SoundRenderer); If Loop is false 0 is returned |
void |
resetStream()
Reset the stream to the beginning (only for streamed sound);. |
void |
startStream(boolean Loop)
Start playing the stream (only for streamed sound);. |
void |
stopStream()
Stop playing the stream (only for streamed sound);. |
| 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 csSoundHandle(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 iSoundSource createSource(int Mode3d)
iSoundHandle
createSource in interface iSoundHandleMode3d -
iSoundHandle.createSource(int)public boolean isStatic()
iSoundHandle
isStatic in interface iSoundHandleiSoundHandle.isStatic()public iSoundSource play()
iSoundHandle
play in interface iSoundHandleiSoundHandle.play()public iSoundSource play(boolean Loop)
iSoundHandle
play in interface iSoundHandleLoop -
iSoundHandle.play(boolean)public void resetStream()
iSoundHandle
resetStream in interface iSoundHandleiSoundHandle.resetStream()public void startStream(boolean Loop)
iSoundHandle
startStream in interface iSoundHandleLoop - iSoundHandle.startStream(boolean)public void stopStream()
iSoundHandle
stopStream in interface iSoundHandleiSoundHandle.stopStream()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||