com.threerings.openal
Class Sounder.Stream
java.lang.Object
com.threerings.expr.SimpleScope
com.threerings.openal.Sounder.Implementation
com.threerings.openal.Sounder.BaseStream
com.threerings.openal.Sounder.Stream
- All Implemented Interfaces:
- Scope, ScopeUpdateListener
- Enclosing class:
- Sounder
public static class Sounder.Stream
- extends Sounder.BaseStream
Plays a sound stream.
| Fields inherited from interface com.threerings.expr.Scope |
EPOCH, NOW |
Sounder.Stream
public Sounder.Stream(AlContext ctx,
Scope parentScope,
SounderConfig.Stream config)
- Creates a new stream implementation.
setConfig
public void setConfig(SounderConfig.Stream config)
- (Re)configures the implementation.
loops
public boolean loops()
- Description copied from class:
Sounder.Implementation
- Checks whether the configured sound loops.
- Overrides:
loops in class Sounder.Implementation
start
public void start()
- Description copied from class:
Sounder.Implementation
- Starts playing the sound.
- Specified by:
start in class Sounder.Implementation
Copyright © 2011. All Rights Reserved.