- added a pause method to AudioNode

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8433 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
rem..om 2011-10-17 21:27:09 +00:00
parent 298c052d24
commit 319ccc62b4

View File

@ -259,6 +259,13 @@ public class AudioNode extends Node {
getRenderer().stopSource(this); getRenderer().stopSource(this);
} }
/**
* Pause the audio that was started with {@link AudioNode#play() }.
*/
public void pause(){
getRenderer().pauseSource(this);
}
/** /**
* Do not use. * Do not use.
*/ */