public final class GaplessInfo extends Object
Modifier and Type | Field and Description |
---|---|
int |
encoderDelay
The number of samples to trim from the start of the decoded audio stream.
|
int |
encoderPadding
The number of samples to trim from the end of the decoded audio stream.
|
Modifier and Type | Method and Description |
---|---|
static GaplessInfo |
createFromComment(String name,
String data)
Parses a gapless playback comment (stored in an ID3 header or MPEG 4 user data).
|
static GaplessInfo |
createFromXingHeaderValue(int value)
Parses gapless playback information associated with an MP3 Xing header.
|
public final int encoderDelay
public final int encoderPadding
public static GaplessInfo createFromComment(String name, String data)
name
- The comment's identifier.data
- The comment's payload data.null
otherwise.public static GaplessInfo createFromXingHeaderValue(int value)
value
- The 24-bit value to parse.null
otherwise.