@MediaClass(uuid1=218169601, uuid2=257, uuid3=9728, uuid4={6,14,43,52,2,6,1,1}, definedName="AIFCDescriptor", description="The AIFCDescriptor class specifies that a File SourcePackage is associated with audio essence formatted according to the Audio Interchange File Format with Compression (AIFC).", symbol="AIFCDescriptor") public class AIFCDescriptorImpl extends AAFFileDescriptorImpl implements AIFCDescriptor, Serializable, XMLSerializable, Cloneable
Implements the description of a file of audio essence formatted according to the Audio Interchange File Format with Compression (AIFC).
ObjectClassPropertyID| Constructor and Description |
|---|
AIFCDescriptorImpl() |
AIFCDescriptorImpl(ContainerDefinition containerFormat,
Rational sampleRate,
long length,
byte[] summary)
Creates and initializes a new AIFC descriptor with the required summary data.
|
| Modifier and Type | Method and Description |
|---|---|
AIFCDescriptor |
clone()
Create a cloned copy of this interchange object.
|
byte[] |
getAIFCSummary()
Gets a copy of the descriptive information in the associated
AIFC Audio Data value.
|
int |
getSummaryBufferSize()
Returns the size of the buffer returned by the
AIFCDescriptor.getAIFCSummary()
method. |
static byte[] |
initializeAIFCSummary() |
void |
setAIFCSummary(byte[] aifcSummary)
Sets the AIFC file information, the descriptive information in the associated
AIFC audio data value.
|
describesStaticEssence, getCodec, getContainerFormat, getEssenceLength, getLinkedTrackID, getSampleRate, getSampleRateString, getTwentyFourBitAudio, initializeEssenceLength, initializeSampleRate, setCodec, setContainerFormat, setDescribesStaticEssence, setDescribesTimeVaryingEssence, setEssenceLength, setEssenceLengthFromStream, setLinkedTrackID, setSampleRate, setSampleRateFromStream, setSampleRateString, setTwentyFourBitAudioappendLocator, appendSubDescriptor, clearLocators, clearSubDescriptors, countLocators, countSubDescriptors, getComment, getLocatorAt, getLocators, getSubDescriptorAt, getSubDescriptors, insertLocatorAt, insertSubDescriptorAt, prependLocator, prependSubDescriptor, removeLocatorAt, removeSubDescriptorAtaddApplicationPlugin, appendXMLChildren, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getLinkedGenerationIDString, getObjectClass, getPersistentID, getPersistentIndex, hashCode, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setLinkedGenerationIDString, setObjectClass, setPersistentID, setPersistentIndex, toStringgetCodec, getContainerFormat, getEssenceLength, getLinkedTrackID, getSampleRate, setCodec, setContainerFormat, setEssenceLength, setLinkedTrackID, setSampleRateappendLocator, appendSubDescriptor, clearLocators, countLocators, countSubDescriptors, getLocatorAt, getLocators, getSubDescriptorAt, getSubDescriptors, insertLocatorAt, insertSubDescriptorAt, prependLocator, prependSubDescriptor, removeLocatorAt, removeSubDescriptorAtaddApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getObjectClass, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setObjectClass, toStringgetPersistentID, setPersistentIndexappendXMLChildren, getCommentpublic AIFCDescriptorImpl()
public AIFCDescriptorImpl(ContainerDefinition containerFormat, Rational sampleRate, @LengthType long length, @DataValue byte[] summary) throws NullPointerException, BadLengthException
Creates and initializes a new AIFC descriptor with the required summary data.
containerFormat - Container mechanism used to store the essence.sampleRate - Sample rate of the essence.length - Duration of the essence measured in sample units.summary - Copy of the descriptive information in the associated AIFC audio data value.NullPointerException - Argument is null.BadLengthException - The given length of the described material is negative.@MediaProperty(uuid1=50529026, uuid2=512, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="AIFCSummary", aliases={"Summary","AIFCDescriptorSummary"}, typeName="DataValue", optional=false, uniqueIdentifier=false, pid=12545, symbol="AIFCSummary") public byte[] getAIFCSummary()
AIFCDescriptorGets a copy of the descriptive information in the associated AIFC Audio Data value.
getAIFCSummary in interface AIFCDescriptorpublic int getSummaryBufferSize()
AIFCDescriptorReturns the size of the buffer returned by the AIFCDescriptor.getAIFCSummary()
method.
getSummaryBufferSize in interface AIFCDescriptor@MediaPropertySetter(value="AIFCSummary") public void setAIFCSummary(byte[] aifcSummary) throws NullPointerException
AIFCDescriptorSets the AIFC file information, the descriptive information in the associated AIFC audio data value.
setAIFCSummary in interface AIFCDescriptoraifcSummary - A copy of the descriptive information in the associated
AIFC Audio Data value.NullPointerException - The given summary buffer is null.public static final byte[] initializeAIFCSummary()
public AIFCDescriptor clone()
InterchangeObjectCreate a cloned copy of this interchange object.
clone in interface MediaEntityclone in interface AAFFileDescriptorclone in interface AIFCDescriptorclone in interface EssenceDescriptorclone in interface InterchangeObjectclone in class AAFFileDescriptorImpl(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.