org.qtunes.replaygain
Class ReplayGainAnalyzer

java.lang.Object
  extended by org.qtunes.replaygain.ReplayGainAnalyzer

public class ReplayGainAnalyzer
extends java.lang.Object

Run ReplayGain algorithm over an AudioInputStream Based on mp3gain


Constructor Summary
ReplayGainAnalyzer()
           
 
Method Summary
 GainAnalysis analyze(javax.sound.sampled.AudioInputStream in)
          Calculate the gain for the specified AudioInputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplayGainAnalyzer

public ReplayGainAnalyzer()
Method Detail

analyze

public GainAnalysis analyze(javax.sound.sampled.AudioInputStream in)
                     throws java.io.IOException
Calculate the gain for the specified AudioInputStream

Parameters:
in - the AudioInputStream - must be PCM_SIGNED
Throws:
java.io.IOException