as.clynx.audio.norm
Class NoNormalizer

java.lang.Object
  extended by as.clynx.audio.norm.NoNormalizer
All Implemented Interfaces:
INormalizer, java.lang.Cloneable

public class NoNormalizer
extends java.lang.Object
implements INormalizer

The class NoNormalizer.java does nothing than returning the same value which was passed.

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

Constructor Summary
NoNormalizer()
           
 
Method Summary
 INormalizer clone()
          returns a clone of the current instance.
 int normalizeSample(int sample, AudioFile file, IAudioFileCollection list)
          returns the normalized samplevalue
 void setAudioFormat(javax.sound.sampled.AudioFormat format)
          sets the audioformat
 void update(int id, java.lang.Object value)
          updates the modifyable parameters of the normalizer instance in runtime.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoNormalizer

public NoNormalizer()
Method Detail

normalizeSample

public int normalizeSample(int sample,
                           AudioFile file,
                           IAudioFileCollection list)
Description copied from interface: INormalizer
returns the normalized samplevalue

Specified by:
normalizeSample in interface INormalizer
Returns:
the normalized samplevalue

setAudioFormat

public void setAudioFormat(javax.sound.sampled.AudioFormat format)
Description copied from interface: INormalizer
sets the audioformat

Specified by:
setAudioFormat in interface INormalizer

clone

public INormalizer clone()
Description copied from interface: INormalizer
returns a clone of the current instance.

Specified by:
clone in interface INormalizer
Overrides:
clone in class java.lang.Object
Returns:
a clone of the current instance.

update

public void update(int id,
                   java.lang.Object value)
Description copied from interface: INormalizer
updates the modifyable parameters of the normalizer instance in runtime.

Specified by:
update in interface INormalizer