public final class MpegAudio extends MetadataContainer
Represents MPEG audio info.
Constructor and Description |
---|
MpegAudio()
Initializes a new instance of the
MpegAudio class. |
Modifier and Type | Method and Description |
---|---|
int |
getBitrate()
Gets the bitrate.
|
int |
getChannelMode()
Gets the channel mode.
|
boolean |
getCopyright()
Gets the copyright bit.
|
String |
getEmphasis()
Gets the emphasis.
|
int |
getFrequency()
Gets the frequency.
|
long |
getHeaderPosition()
Gets the header offset.
|
int |
getLayerVersion()
Gets the layer version.
|
int |
getModeExtensionBits()
Gets or sets the mode extension bits.
|
String |
getMpegAudioVersion()
Gets the MPEG audio version.
|
int |
getPaddingBit()
Gets the padding bit.
|
boolean |
getPrivateBit()
Gets a value indicating whether [private bit].
|
boolean |
isOriginal()
Gets the original bit.
|
boolean |
isProtected()
Gets
true if protected. |
void |
setModeExtensionBits(int value)
Gets or sets the mode extension bits.
|
getKeys
getByType, getMetadataType, readByStringKey
public final String getMpegAudioVersion()
Gets the MPEG audio version.
Value: The MPEG audio version.public final int getLayerVersion()
Gets the layer version.
Value: The layer version.public final boolean isProtected()
Gets true
if protected.
true
if is protected; otherwise, false
.public final long getHeaderPosition()
Gets the header offset.
Value: The header offset.public final int getBitrate()
Gets the bitrate.
Value: The bitrate.public final int getFrequency()
Gets the frequency.
Value: The frequency.public final int getPaddingBit()
Gets the padding bit.
Value: The padding bit.public final boolean getPrivateBit()
Gets a value indicating whether [private bit].
Value:true
if [private bit]; otherwise, false
.public final int getChannelMode()
Gets the channel mode.
Value: The channel mode.public final boolean getCopyright()
Gets the copyright bit.
Value:true
if copyright; otherwise, false
.public final boolean isOriginal()
Gets the original bit.
Value:true
if audio is original; otherwise, false
.public final String getEmphasis()
Gets the emphasis.
Value: The emphasis.public final int getModeExtensionBits()
Gets or sets the mode extension bits.
Value: The mode extension bits.public final void setModeExtensionBits(int value)
Gets or sets the mode extension bits.
Value: The mode extension bits.Copyright © 2017. All rights reserved.