net.jinx.audio.synth.mix
Class Subtract

java.lang.Object
  extended by net.jinx.audio.synth.mix.AbstractMixer
      extended by net.jinx.audio.synth.mix.Subtract
All Implemented Interfaces:
SampleProcessor

public class Subtract
extends AbstractMixer


Constructor Summary
Subtract()
           
 
Method Summary
protected  void mix(java.nio.DoubleBuffer dest, java.nio.DoubleBuffer intermediate)
           
protected  void postMix(java.nio.DoubleBuffer dest, int buffersMixed)
           
 
Methods inherited from class net.jinx.audio.synth.mix.AbstractMixer
addSource, getFormat, isSource, process, setFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Subtract

public Subtract()
Method Detail

mix

protected void mix(java.nio.DoubleBuffer dest,
                   java.nio.DoubleBuffer intermediate)
Specified by:
mix in class AbstractMixer

postMix

protected void postMix(java.nio.DoubleBuffer dest,
                       int buffersMixed)
Specified by:
postMix in class AbstractMixer