|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
javax.sound.sampled.AudioInputStream
as.clynx.audio.mux.streams.AudioStream
as.clynx.audio.mux.streams.MultiStream
public class MultiStream
The class MultiStream.java extends AudioStream. It plays all streams parallel in al channels. it is possible to do that in 2 modes. STATIC MODE: all streams are simply played parrallel in all channels. DYNAMIC MODE: all streams are played parralel in all channels and one stream is played louder for an amount of time, followed by the next stream.
Field Summary |
---|
Fields inherited from class as.clynx.audio.mux.streams.AudioStream |
---|
DYNAMIC_MODE, STATIC_MODE |
Constructor Summary | |
---|---|
MultiStream(IAudioFileCollection collection,
int mode,
SettingControl settings)
Constructor |
Method Summary | |
---|---|
int |
getTargetBufferSize()
returns the buffersze of the targetBuffer |
int |
getType()
returns the type of the mux function |
void |
setMasterVolume(int l)
sets the master volume [takes effect in runtime] |
void |
setVolume(int l)
sets the volume [takes effect in runtime] |
Methods inherited from class as.clynx.audio.mux.streams.AudioStream |
---|
getFormat, getMode, getSettings, getSourceDataLine, read, setDurationInSeconds, setFadeTimeInSeconds, setFadeValue |
Methods inherited from class javax.sound.sampled.AudioInputStream |
---|
available, close, getFrameLength, mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiStream(IAudioFileCollection collection, int mode, SettingControl settings)
collection
- mode
- settings
- Method Detail |
---|
public int getTargetBufferSize()
AudioStream
getTargetBufferSize
in class AudioStream
public void setVolume(int l)
l
- public void setMasterVolume(int l)
l
- public int getType()
AudioStream
getType
in class AudioStream
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |