ddf.minim
Class MAudioSample

java.lang.Object
  extended byddf.minim.MAudioSample
All Implemented Interfaces:
LineWriterListener

public class MAudioSample
extends java.lang.Object
implements LineWriterListener


Field Summary
 boolean doEffects
           
 EffectsChain effects
           
 MAudioBuffer left
           
 MAudioBuffer mix
           
 MAudioBuffer right
           
 SampleStream stream
           
 
Constructor Summary
MAudioSample(org.tritonus.share.sampled.FloatSampleBuffer samps, int bufferSize)
           
 
Method Summary
 void trigger()
           
 void writeSamples(org.tritonus.share.sampled.FloatSampleBuffer fsb)
          Writes samples to fsb.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

effects

public EffectsChain effects

doEffects

public boolean doEffects

left

public final MAudioBuffer left

right

public final MAudioBuffer right

mix

public final MAudioBuffer mix

stream

public SampleStream stream
Constructor Detail

MAudioSample

public MAudioSample(org.tritonus.share.sampled.FloatSampleBuffer samps,
                    int bufferSize)
Method Detail

trigger

public void trigger()

writeSamples

public void writeSamples(org.tritonus.share.sampled.FloatSampleBuffer fsb)
Description copied from interface: LineWriterListener
Writes samples to fsb.

Specified by:
writeSamples in interface LineWriterListener
Parameters:
fsb - the FloatSampleBuffer to write to