|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object crystalspace.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 iBase
getVersion
in class csBase
iBase.getVersion()
public java.lang.String getName()
iBase
getName
in interface iBase
getName
in class csBase
iBase.getName()
protected boolean isNativePointerValidSafe(long pointer)
isNativePointerValidSafe
in class csNativeObject
csNativeObject.isNativePointerValidSafe(long)
public iSoundSource createSource(int Mode3d)
iSoundHandle
createSource
in interface iSoundHandle
Mode3d
-
iSoundHandle.createSource(int)
public boolean isStatic()
iSoundHandle
isStatic
in interface iSoundHandle
iSoundHandle.isStatic()
public iSoundSource play()
iSoundHandle
play
in interface iSoundHandle
iSoundHandle.play()
public iSoundSource play(boolean Loop)
iSoundHandle
play
in interface iSoundHandle
Loop
-
iSoundHandle.play(boolean)
public void resetStream()
iSoundHandle
resetStream
in interface iSoundHandle
iSoundHandle.resetStream()
public void startStream(boolean Loop)
iSoundHandle
startStream
in interface iSoundHandle
Loop
- iSoundHandle.startStream(boolean)
public void stopStream()
iSoundHandle
stopStream
in interface iSoundHandle
iSoundHandle.stopStream()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |