Fixed comment; added proper cache size adjustment.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3670 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -31,9 +31,7 @@ import com.samskivert.util.LRUHashMap;
|
||||
import com.samskivert.util.ObserverList;
|
||||
|
||||
/**
|
||||
* Represents a sound that has been loaded into the OpenAL system, or one
|
||||
* that was loaded but has been flushed and which can be reloaded as
|
||||
* needed.
|
||||
* Represents a sound that has been loaded into the OpenAL system.
|
||||
*/
|
||||
public class ClipBuffer
|
||||
implements LRUHashMap.LRUItem
|
||||
|
||||
@@ -76,6 +76,7 @@ public class SoundManager
|
||||
*/
|
||||
public void setCacheSize (int bytes)
|
||||
{
|
||||
_clips.setMaxSize(bytes);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user