org.qtunes.replaygain
Class ReplayGainAnalyzer

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

public class ReplayGainAnalyzer
extends Object

Run ReplayGain algorithm over an AudioInputStream Based on mp3gain


Constructor Summary
ReplayGainAnalyzer()
           
 
Method Summary
 GainAnalysis analyze(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(AudioInputStream in)
                     throws IOException
Calculate the gain for the specified AudioInputStream

Parameters:
in - the AudioInputStream - must be PCM_SIGNED
Throws:
IOException