@Immutable public static final class WaveAudioEssenceDescriptor.WaveAudioEssenceDescriptorBO extends GenericSoundEssenceDescriptor.GenericSoundEssenceDescriptorBO
InterchangeObject.InterchangeObjectBO.StrongRef
audio_sampling_rate, channelcount, quantization_bits, sound_essence_coding
essence_container, sample_rate
subdescriptors
header, instance_uid
Constructor and Description |
---|
WaveAudioEssenceDescriptorBO(KLVPacket.Header header,
ByteProvider byteProvider,
java.util.Map<java.lang.Integer,MXFUID> localTagToUIDMap,
IMFErrorLogger imfErrorLogger)
Instantiates a new parsed WaveAudioEssenceDescriptor object by virtue of parsing the MXF file bitstream
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
A method that compares this WaveAudioEssenceDescriptorBO with the object that was passed in and returns true/false depending on whether the objects
match field for field.
|
int |
hashCode()
Getter for the sum of hash codes of AudioSamplingRate, Channel Count, Quantization Bits and Block Align fields
of this WaveAudioEssenceDescriptor
|
java.lang.String |
toString()
A method that returns a string representation of a WaveAudioEssenceDescriptorBO object
|
getSampleRate
getSubdescriptors
getHeader, getInstanceUID
public WaveAudioEssenceDescriptorBO(KLVPacket.Header header, ByteProvider byteProvider, java.util.Map<java.lang.Integer,MXFUID> localTagToUIDMap, IMFErrorLogger imfErrorLogger) throws java.io.IOException
header
- the parsed header (K and L fields from the KLV packet)byteProvider
- the input stream corresponding to the MXF filelocalTagToUIDMap
- mapping from local tag to element UID as provided by the Primer Pack defined in st377-1:2011imfErrorLogger
- logger for recording any parsing errorsjava.io.IOException
- - any I/O related error will be exposed through an IOExceptionpublic boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- the object that this parsed WaveAudioEssenceDescriptor should be compared withpublic int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object