com.threerings.openal
Class Sounder.BaseStream
java.lang.Object
com.threerings.expr.SimpleScope
com.threerings.openal.Sounder.Implementation
com.threerings.openal.Sounder.BaseStream
- All Implemented Interfaces:
- Scope, ScopeUpdateListener
- Direct Known Subclasses:
- Sounder.MetaStream, Sounder.Stream
- Enclosing class:
- Sounder
public abstract static class Sounder.BaseStream
- extends Sounder.Implementation
Base class for Sounder.BaseStream and Sounder.MetaStream.
| Fields inherited from interface com.threerings.expr.Scope |
EPOCH, NOW |
Sounder.BaseStream
public Sounder.BaseStream(AlContext ctx,
Scope parentScope)
- Creates a new implementation.
setConfig
public void setConfig(SounderConfig.BaseStream config)
- (Re)configures the implementation.
stop
public void stop()
- Description copied from class:
Sounder.Implementation
- Stops the sound.
- Specified by:
stop in class Sounder.Implementation
isPlaying
public boolean isPlaying()
- Description copied from class:
Sounder.Implementation
- Checks whether the sound is currently playing.
- Specified by:
isPlaying in class Sounder.Implementation
Copyright © 2011. All Rights Reserved.