as.clynx.audio.mux.streams
Class _2DLocalizer

java.lang.Object
  extended by as.clynx.audio.mux.streams.SignalLocalizer
      extended by as.clynx.audio.mux.streams._2DLocalizer

public class _2DLocalizer
extends SignalLocalizer

The class _2DLocalizer.java extends SignalLocalizer and calculates the position of a signal in 2D.

Version:
cLynx v.1.2, JDK 6.0: 23.10.2007
Author:
Andreas Senfter - andreas@senfters.com

Field Summary
 
Fields inherited from class as.clynx.audio.mux.streams.SignalLocalizer
FRONT_LEFT, FRONT_RIGHT, REAR_LEFT, REAR_RIGHT
 
Constructor Summary
_2DLocalizer()
           
 
Method Summary
 int getChannelCount()
          returns the number of channels
 int getPostion(java.awt.Point loc)
          signal can only occure in FRONT_LEFT or FRONT_RIGHT
 
Methods inherited from class as.clynx.audio.mux.streams.SignalLocalizer
getPostionOf
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

_2DLocalizer

public _2DLocalizer()
Method Detail

getPostion

public int getPostion(java.awt.Point loc)
signal can only occure in FRONT_LEFT or FRONT_RIGHT

Specified by:
getPostion in class SignalLocalizer
Returns:
the position of the input signal in the output signal.

getChannelCount

public int getChannelCount()
Description copied from class: SignalLocalizer
returns the number of channels

Specified by:
getChannelCount in class SignalLocalizer
Returns:
the number of channels