com.threerings.openal
Class ResourceClipProvider

java.lang.Object
  extended by com.threerings.openal.ResourceClipProvider
All Implemented Interfaces:
com.threerings.openal.ClipProvider

public class ResourceClipProvider
extends Object
implements com.threerings.openal.ClipProvider

Loads clips from resources.


Constructor Summary
ResourceClipProvider(com.threerings.resource.ResourceManager rsrcmgr)
          Creates a new resource clip provider that will obtain resources from the given manager.
 
Method Summary
 com.threerings.openal.Clip loadClip(String path)
          Loads the specified clip from the appropriate source.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceClipProvider

public ResourceClipProvider(com.threerings.resource.ResourceManager rsrcmgr)
Creates a new resource clip provider that will obtain resources from the given manager.

Method Detail

loadClip

public com.threerings.openal.Clip loadClip(String path)
                                    throws IOException
Loads the specified clip from the appropriate source.

Specified by:
loadClip in interface com.threerings.openal.ClipProvider
Throws:
IOException


Copyright © 2011. All Rights Reserved.