- 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:
parent
298c052d24
commit
319ccc62b4
@ -259,6 +259,13 @@ public class AudioNode extends Node {
|
||||
getRenderer().stopSource(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Pause the audio that was started with {@link AudioNode#play() }.
|
||||
*/
|
||||
public void pause(){
|
||||
getRenderer().pauseSource(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Do not use.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user