Added shutdown method.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@834 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -73,6 +73,16 @@ public class SoundManager
|
|||||||
return _soundmgr;
|
return _soundmgr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Shuts down the sound manager.
|
||||||
|
*/
|
||||||
|
public void shutdown ()
|
||||||
|
{
|
||||||
|
if (isInitialized()) {
|
||||||
|
AL.destroy();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if we were able to initialize the sound system.
|
* Returns true if we were able to initialize the sound system.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user