|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.expr.SimpleScope
com.threerings.openal.Sounder.Implementation
com.threerings.openal.Sounder.BaseStream
public abstract static class Sounder.BaseStream
Base class for Sounder.BaseStream.StackedStream and Sounder.MetaStream.
| Nested Class Summary | |
|---|---|
protected class |
Sounder.BaseStream.StackedStream
A stream that is part of a stack where only the top level of the stack is playing. |
protected class |
Sounder.BaseStream.TransformedStream
Updates the transform of the stream as it plays. |
| Field Summary | |
|---|---|
protected SounderConfig.BaseStream |
_config
The implementation configuration. |
protected Sounder.BaseStream.StackedStream |
_stream
The (current) stream. |
protected MutableFloat |
_streamGain
The stream gain. |
| Fields inherited from class com.threerings.openal.Sounder.Implementation |
|---|
_ctx, _started, _transform |
| Fields inherited from class com.threerings.expr.SimpleScope |
|---|
_parentScope |
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
Sounder.BaseStream(AlContext ctx,
Scope parentScope)
Creates a new implementation. |
|
| Method Summary | |
|---|---|
boolean |
isPlaying()
Checks whether the sound is currently playing. |
void |
setConfig(SounderConfig.BaseStream config)
(Re)configures the implementation. |
protected void |
startStream(Sounder.BaseStream.StackedStream stream,
float fadeIn)
Starts the specified stream. |
void |
stop()
Stops the sound. |
protected void |
stopStream(float fadeOut)
Stops the current stream, if any. |
| Methods inherited from class com.threerings.openal.Sounder.Implementation |
|---|
dispose, getScopeName, loops, start, update |
| Methods inherited from class com.threerings.expr.SimpleScope |
|---|
addListener, get, getParentScope, removeListener, scopeUpdated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SounderConfig.BaseStream _config
protected Sounder.BaseStream.StackedStream _stream
@Bound protected MutableFloat _streamGain
| Constructor Detail |
|---|
public Sounder.BaseStream(AlContext ctx,
Scope parentScope)
| Method Detail |
|---|
public void setConfig(SounderConfig.BaseStream config)
public void stop()
Sounder.Implementation
stop in class Sounder.Implementationpublic boolean isPlaying()
Sounder.Implementation
isPlaying in class Sounder.Implementation
protected void startStream(Sounder.BaseStream.StackedStream stream,
float fadeIn)
protected void stopStream(float fadeOut)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||