Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
public class: SoftLimiter [javadoc | source]
java.lang.Object
   com.sun.media.sound.SoftLimiter

All Implemented Interfaces:
    SoftAudioProcessor

A simple look-ahead volume limiter with very fast attack and fast release. This filter is used for preventing clipping.
Field Summary
 float lastmax     
 float gain     
 float[] temp_bufferL     
 float[] temp_bufferR     
 boolean mix     
 SoftAudioBuffer bufferL     
 SoftAudioBuffer bufferR     
 SoftAudioBuffer bufferLout     
 SoftAudioBuffer bufferRout     
 float controlrate     
 double silentcounter     
Method from com.sun.media.sound.SoftLimiter Summary:
globalParameterControlChange,   init,   processAudio,   processControlLogic,   setInput,   setMixMode,   setOutput
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.media.sound.SoftLimiter Detail:
 public  void globalParameterControlChange(int[] slothpath,
    long param,
    long value) 
 public  void init(float samplerate,
    float controlrate) 
 public  void processAudio() 
 public  void processControlLogic() 
 public  void setInput(int pin,
    SoftAudioBuffer input) 
 public  void setMixMode(boolean mix) 
 public  void setOutput(int pin,
    SoftAudioBuffer output)