GaplessInfoHolder
@UnstableApi
class GaplessInfoHolder
Holder for gapless playback information.
Summary
Public constructors |
|---|
|
Creates a new holder for gapless playback information. |
Public functions |
|
|---|---|
Boolean |
Returns whether |
Boolean |
setFromMetadata(metadata: Metadata!)Populates the holder with data parsed from ID3 |
Public properties |
|
|---|---|
Int |
The number of samples to trim from the start of the decoded audio stream, or |
Int |
The number of samples to trim from the end of the decoded audio stream, or |
Public constructors
Public functions
hasGaplessInfo
fun hasGaplessInfo(): Boolean
Returns whether encoderDelay and encoderPadding have been set.
Public properties
encoderDelay
val encoderDelay: Int
The number of samples to trim from the start of the decoded audio stream, or NO_VALUE if not set.
encoderPadding
val encoderPadding: Int
The number of samples to trim from the end of the decoded audio stream, or NO_VALUE if not set.