ddf.minim
Interface LineWriterListener


public interface LineWriterListener

The LineWriterListener interface is for classes that want to be notified with a LineWriter needs more samples to send to the system. It will be implemented by class that can provide these samples either by generating them on the fly or reading them from a file. Typically, a LineWriter will have only one listener and that listener is responsible for mixing multiple signals into a single FloatSampleBuffer. It is also responsible for ensuring that the resulting signal is within the range [-1, 1]. LineWriters make no attempt to keep sample values from overflowing and will simple transmit the data to the system.

Author:
Damien Di Fede

Method Summary
 void writeSamples(org.tritonus.share.sampled.FloatSampleBuffer fsb)
          Writes samples to fsb.
 

Method Detail

writeSamples

public void writeSamples(org.tritonus.share.sampled.FloatSampleBuffer fsb)
Writes samples to fsb.

Parameters:
fsb - the FloatSampleBuffer to write to