ddf.minim
Interface ARListener
- public interface ARListener
The ARListener interface is used by objects that want to be
notified when a link LineReader has filled its
FloatSampleBuffer with audio data. The LineReader
will call readSamples() on each of its listeners so that they
can make a copy of the data. The LineReader creates this
buffer solely for the use of its listeners, so it doesn't matter if the
listeners change the data. However, in the case of a LineReader
with multiple listeners, it is important that each listener sees the same
data. So, be nice, don't mess with it or else it'll be like playing a game of
telephone.
- Author:
- Damien Di Fede
|
Method Summary |
void |
readSamples(org.tritonus.share.sampled.FloatSampleBuffer fsb)
Reads samples from fsb and writes them to the left and right AudioBuffers. |
readSamples
public void readSamples(org.tritonus.share.sampled.FloatSampleBuffer fsb)
- Reads samples from
fsb and writes them to the left and right AudioBuffers.
Then mixes left and right in mix.
- Parameters:
fsb - the FloatSampleBuffer to read from