as.clynx.audio.mux
Class AbstractMUX

java.lang.Object
  extended by as.clynx.audio.mux.AbstractMUX
Direct Known Subclasses:
MUX

public abstract class AbstractMUX
extends java.lang.Object

The class AbstractMUX.java must be extended by every mixer. it mixes streames to one single outputstream.

Version:
cLynx v.1.2, JDK 6.0: 12.10.2007
Author:
Andreas Senfter - andreas@senfters.com

Constructor Summary
AbstractMUX(IAudioFileCollection collection, AudioStream stream)
          Constructor
 
Method Summary
abstract  void doMixing()
          does the mixing. the ThreadExceededException is thrown only in gui mode when the playbach is stoped by the user.
abstract  void update(int source, java.lang.Object value)
          only in GUI mode. updates parameter in runtime. the source specifies the id of the source. valuedefines the new value of the defined source.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMUX

public AbstractMUX(IAudioFileCollection collection,
                   AudioStream stream)
Constructor

Parameters:
collection -
stream -
Method Detail

doMixing

public abstract void doMixing()
                       throws ThreadExceededException
does the mixing. the ThreadExceededException is thrown only in gui mode when the playbach is stoped by the user.

Throws:
ThreadExceededException

update

public abstract void update(int source,
                            java.lang.Object value)
only in GUI mode. updates parameter in runtime. the source specifies the id of the source. valuedefines the new value of the defined source.

Parameters:
source -
value -