org.jscience.media.audio.dsp.processors
Class Panner

java.lang.Object
  extended by org.jscience.media.audio.dsp.AbstractAudio
      extended by org.jscience.media.audio.dsp.processors.Panner
All Implemented Interfaces:
Named

public class Panner
extends AbstractAudio

DOCUMENT ME!


Field Summary
 
Fields inherited from class org.jscience.media.audio.dsp.AbstractAudio
ALLTYPES, MONITOR, next, NOTYPE, previous, PROCESSOR, SAMPLEBUFFERSIZE, SINK, SOURCE
 
Constructor Summary
Panner()
          Creates a new Panner object.
 
Method Summary
 int getSamples(short[] buffer, int length)
          DOCUMENT ME!
 void minMaxChannels(int min, int max, int preferred)
          DOCUMENT ME!
 void setChannelsRecursive(int ch)
          DOCUMENT ME!
 void setMixMode(boolean state)
          DOCUMENT ME!
 void setPanValue(int panValue)
          DOCUMENT ME!
 void stopUI()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.media.audio.dsp.AbstractAudio
doReset, equals, getByPass, getName, getNumberOfChannels, getSamplingRate, hexo, hexo, hexo, hexo, minMaxSamplingRate, negotiateNumberOfChannels, negotiateSamplingRate, o, propagateReset, reset, setByPass, setNumberOfChannels, setSamplingRate, setSamplingRateRecursive, toString, typeString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Panner

public Panner()
Creates a new Panner object.

Method Detail

setPanValue

public void setPanValue(int panValue)
DOCUMENT ME!

Parameters:
panValue - DOCUMENT ME!

setMixMode

public void setMixMode(boolean state)
DOCUMENT ME!

Parameters:
state - DOCUMENT ME!

getSamples

public int getSamples(short[] buffer,
                      int length)
DOCUMENT ME!

Specified by:
getSamples in class AbstractAudio
Parameters:
buffer - DOCUMENT ME!
length - DOCUMENT ME!
Returns:
DOCUMENT ME!

stopUI

public void stopUI()
DOCUMENT ME!


minMaxChannels

public void minMaxChannels(int min,
                           int max,
                           int preferred)
DOCUMENT ME!

Overrides:
minMaxChannels in class AbstractAudio
Parameters:
min - DOCUMENT ME!
max - DOCUMENT ME!
preferred - DOCUMENT ME!

setChannelsRecursive

public void setChannelsRecursive(int ch)
DOCUMENT ME!

Overrides:
setChannelsRecursive in class AbstractAudio
Parameters:
ch - DOCUMENT ME!