@MediaClass(uuid1=218169601, uuid2=257, uuid3=11264, uuid4={6,14,43,52,2,6,1,1}, definedName="WAVEDescriptor", description="The WAVEDescriptor class specifies that a File SourcePackage is associated with audio essence formatted according to the RIFF Waveform Audio File Format (WAVE).", symbol="WAVEDescriptor") public class WAVEDescriptorImpl extends AAFFileDescriptorImpl implements WAVEDescriptor, Serializable, Cloneable
Implements the description of a file of audio essence formatted according to the RIFF Waveform Audio File Format (WAVE).
ObjectClassPropertyID| Constructor and Description |
|---|
WAVEDescriptorImpl() |
WAVEDescriptorImpl(ContainerDefinition containerFormat,
byte[] summary)
Creates and initializes a new WAVE descriptor, which specifies that a file
source package is associated with audio essence formatted according
to the RIFF Waveform Audio File Format (WAVE). |
| Modifier and Type | Method and Description |
|---|---|
WAVEDescriptor |
clone()
Create a cloned copy of this interchange object.
|
byte[] |
getWAVESummary()
Returns a copy of the WAVE file information without the
associated sample data from the audio essence described by this
WAVE descriptor.
|
int |
getWAVESummaryBufferSize()
Returns the size of the data buffer required for the
WAVEDescriptor.getWAVESummary() method. |
static byte[] |
initializeWAVESummary() |
void |
setWAVESummary(byte[] waveSummary)
Sets the copy of WAVE file information without the sample data
from the audio essence described by this WAVE descriptor.
|
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, setPersistentIndexpublic WAVEDescriptorImpl()
public WAVEDescriptorImpl(ContainerDefinition containerFormat, @DataBuffer byte[] summary) throws NullPointerException
Creates and initializes a new WAVE descriptor, which specifies that a file
source package is associated with audio essence formatted according
to the RIFF Waveform Audio File Format (WAVE).
containerFormat - Container mechanism used to store the essence.summary - A copy of the WAVE file information without the sample data.NullPointerException - One or both of the arguments is/are null
and both are required.@MediaProperty(uuid1=50529026, uuid2=256, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="WAVESummary", aliases={"Summary","WAVEDescriptorSummary"}, typeName="DataValue", optional=false, uniqueIdentifier=false, pid=14337, symbol="WAVESummary") public byte[] getWAVESummary()
WAVEDescriptorReturns a copy of the WAVE file information without the associated sample data from the audio essence described by this WAVE descriptor.
getWAVESummary in interface WAVEDescriptor@MediaPropertySetter(value="WAVESummary") public void setWAVESummary(byte[] waveSummary) throws NullPointerException
WAVEDescriptorSets the copy of WAVE file information without the sample data from the audio essence described by this WAVE descriptor.
setWAVESummary in interface WAVEDescriptorwaveSummary - Summary property for this WAVE descriptor.NullPointerException - The given summary is null.public static final byte[] initializeWAVESummary()
public int getWAVESummaryBufferSize()
WAVEDescriptorReturns the size of the data buffer required for the
WAVEDescriptor.getWAVESummary() method.
getWAVESummaryBufferSize in interface WAVEDescriptorWAVEDescriptor.getWAVESummary() method.public WAVEDescriptor clone()
InterchangeObjectCreate a cloned copy of this interchange object.
clone in interface MediaEntityclone in interface AAFFileDescriptorclone in interface EssenceDescriptorclone in interface InterchangeObjectclone in interface WAVEDescriptorclone in class AAFFileDescriptorImpl(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.