Added an AL context. Provide a method in the sound manager to preload sound data.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@459 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Eric Woroshow
2008-04-07 18:57:41 +00:00
parent 548de4d5c2
commit 81c5760863
2 changed files with 33 additions and 1 deletions
@@ -135,6 +135,15 @@ public class SoundManager
}
}
/**
* Loads a clip buffer for the sound clip loaded via the specified provider with the
* specified path. The loaded clip is placed in the cache.
*/
public void loadClip (ClipProvider provider, String path)
{
getClip(provider, path);
}
/**
* Creates a sound manager and initializes the OpenAL sound subsystem.
*/
@@ -182,7 +191,7 @@ public class SoundManager
/**
* Creates a clip buffer for the sound clip loaded via the specified provider with the
* specified path. The clip buffer may come from teh cache, and it will immediately be queued
* specified path. The clip buffer may come from the cache, and it will immediately be queued
* for loading if it is not already loaded.
*/
protected ClipBuffer getClip (ClipProvider provider, String path)