public class ReplayGain
extends java.lang.Object
LAMEHeader
,
LAME Header FormatConstructor and Description |
---|
ReplayGain(GainType type,
GainOriginator originator,
boolean sign,
int gain)
constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getGain()
get the absolute vlaue of the gain adjustment.
|
GainOriginator |
getOriginator()
get the originator of the replay gain adjustment.
|
GainType |
getType()
get the type of replay gain adjustment.
|
boolean |
isDecrease()
get whether the gain adjustment is an increase (true) or a decrease (false) in volume.
|
boolean |
isIncrease()
get whether the gain adjustment is an increase (true) or a decrease (false) in volume.
|
java.lang.String |
toString()
get a string representation of the LAME replay gain.
|
public ReplayGain(GainType type, GainOriginator originator, boolean sign, int gain)
type
- type of replay gain.originator
- who set the replay gain.sign
- true indicates an increase in volume, while false indicates a decrease in volume.gain
- amount of gain to add/remove.public GainType getType()
public GainOriginator getOriginator()
public boolean isIncrease()
public boolean isDecrease()
public int getGain()
public java.lang.String toString()
toString
in class java.lang.Object