public class AESAudioMetadata extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
AESAudioMetadata.Face
Public interface to the nested Face object.
|
static interface |
AESAudioMetadata.FaceRegion
Public interface to the nested FaceRegion object.
|
static interface |
AESAudioMetadata.FormatRegion
Public interface to the nested FormatRegion object.
|
static interface |
AESAudioMetadata.TimeDesc
Public interface to the nested TimeDesc object.
|
Modifier and Type | Field and Description |
---|---|
static String[] |
A_D
Analog / digital labels.
|
static int |
BIG_ENDIAN
Big-endian constant.
|
static String |
FILE_NAME
Values for primary identifier type
|
static int |
LITTLE_ENDIAN
Little-endian constant.
|
static double |
NILL
Constant for an undefined floating-point value.
|
static int |
NULL
Constant for an undefined integer value.
|
static String |
OTHER
Values for primary identifier type
|
static String |
SCHEMA_VERSION
Constant value for the SchemaVersion field
|
Constructor and Description |
---|
AESAudioMetadata()
Instantiate a
NisoImageMetadata object. |
Modifier and Type | Method and Description |
---|---|
void |
addFace()
Adds a Face.
|
void |
addFormatRegion()
Adds a FormatRegion object to a FormatSize list.
|
void |
clearBitrateReduction()
Set the bitrate reduction information to null (no compression).
|
String |
getAnalogDigitalFlag()
Returns analog/digital flag.
|
String |
getAppSpecificData()
Returns application-specific data.
|
String |
getAudioDataEncoding()
Returns audio data encoding.
|
String[] |
getBitrateReduction()
Returns the bitrate reduction (compression information).
|
int |
getByteOrder()
Return the byte order: 0 = big-endian; 1 = little-endian.
|
String |
getDisposition()
Returns disposition.
|
List |
getFaceList()
Gets the list of Faces.
|
long |
getFirstSampleOffset()
Return the offset of the first byte of sample data.
|
String |
getFormat()
Returns format name.
|
List |
getFormatList()
Gets the list of Format Regions.
|
String[] |
getMapLocations()
Returns the names of the map locations.
|
int |
getNumChannels()
Returns number of channels.
|
String |
getPrimaryIdentifier()
Returns primary identifier.
|
String |
getPrimaryIdentifierType()
Returns primary identifier type.
|
double |
getSampleRate() |
String |
getSchemaVersion()
Returns schema version.
|
String |
getSpecificationVersion()
Returns specification version of the document format.
|
String[] |
getUse()
Returns the use (role of the document).
|
void |
setAnalogDigitalFlag(String flagType)
Sets the analog/digital flag.
|
void |
setAppSpecificData(String data)
Set the application-specific data.
|
void |
setAudioDataEncoding(String audioDataEncoding)
Sets the audio data encoding.
|
void |
setBitDepth(int bitDepth)
Sets the bit depth.
|
void |
setBitrateReduction(String codecName,
String codecNameVersion,
String codecCreatorApplication,
String codecCreatorApplicationVersion,
String codecQuality,
String dataRate,
String dataRateMode)
Sets the bitrate reduction (compression type).
|
void |
setByteOrder(int order)
Sets the byte order.
|
void |
setByteOrder(String order)
Sets the byte order.
|
void |
setDirection(String direction)
Sets the direction.
|
void |
setDisposition(String disposition)
Sets the disposition.
|
void |
setDuration(long duration)
Sets the duration in samples.
|
void |
setFirstSampleOffset(long offset)
Sets the offset of the first byte of sample data.
|
void |
setFormat(String format)
Sets the format name.
|
void |
setMapLocations(String[] locations)
Sets the array of channel map locations.
|
void |
setNumChannels(int numChannels)
Sets the number of channels.
|
void |
setOtherPrimaryIdentifierType(String otherType)
Sets the primary identifier type as "OTHER", and
set the otherType.
|
void |
setPrimaryIdentifier(String primaryIdentifier)
Sets the primary identifier.
|
void |
setPrimaryIdentifierType(String primaryIdentifierType)
Sets the primary identifier type.
|
void |
setSampleRate(double sampleRate)
Sets the sample rate.
|
void |
setSpecificationVersion(String specificationVersion)
Sets the specification version of the document format.
|
void |
setStartTime(long samples)
Sets the start time in samples.
|
void |
setUse(String useType,
String otherType)
Sets the role of the document.
|
void |
setWordSize(int wordSize)
Sets the word size.
|
public static final int BIG_ENDIAN
public static final int LITTLE_ENDIAN
public static final String[] A_D
public static final String FILE_NAME
public static final String OTHER
public static final int NULL
public static final double NILL
public static final String SCHEMA_VERSION
public AESAudioMetadata()
NisoImageMetadata
object.public String getAnalogDigitalFlag()
public String getAppSpecificData()
public String getAudioDataEncoding()
public String[] getBitrateReduction()
public double getSampleRate()
public int getByteOrder()
public String getDisposition()
public List getFaceList()
public long getFirstSampleOffset()
public String getFormat()
public List getFormatList()
public String[] getMapLocations()
public int getNumChannels()
public String getPrimaryIdentifier()
public String getPrimaryIdentifierType()
public String getSchemaVersion()
public String getSpecificationVersion()
public String[] getUse()
public void setAnalogDigitalFlag(String flagType)
public void setBitrateReduction(String codecName, String codecNameVersion, String codecCreatorApplication, String codecCreatorApplicationVersion, String codecQuality, String dataRate, String dataRateMode)
public void clearBitrateReduction()
public void setByteOrder(int order)
order
- Byte order: 0 = big-endian, 1 = little-endianpublic void setByteOrder(String order)
public void setAudioDataEncoding(String audioDataEncoding)
public void setAppSpecificData(String data)
public void setBitDepth(int bitDepth)
public void setDisposition(String disposition)
public void setDirection(String direction)
public void setDuration(long duration)
public void setFirstSampleOffset(long offset)
public void setFormat(String format)
public void setMapLocations(String[] locations)
public void setNumChannels(int numChannels)
public void setPrimaryIdentifier(String primaryIdentifier)
public void setPrimaryIdentifierType(String primaryIdentifierType)
public void setOtherPrimaryIdentifierType(String otherType)
public void setSampleRate(double sampleRate)
public void setSpecificationVersion(String specificationVersion)
public void setStartTime(long samples)
public void setUse(String useType, String otherType)
public void setWordSize(int wordSize)
public void addFormatRegion()
public void addFace()
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.