edu.harvard.hul.ois.jhove
Interface AESAudioMetadata.FormatRegion

Enclosing interface:
AESAudioMetadata

public static interface AESAudioMetadata.FormatRegion

Public interface to the nested FormatRegion object. Instances of this should be created only by addFormatRegion, but can be accessed through the public methods of this interface.


Method Summary
 void clearBitrateReduction()
          Sets the bitrate reduction information to null (no compression).
 int getBitDepth()
          Returns the bit depth.
 java.lang.String[] getBitrateReduction()
          Returns the bitrate reduction (compression information).
 double getSampleRate()
          Returns the sample rate.
 int getWordSize()
          Returns the word size.
 boolean isEmpty()
          Returns true if the region is empty.
 void setBitDepth(int bitDepth)
          Sets the bit depth value.
 void setBitrateReduction(java.lang.String codecName, java.lang.String codecNameVersion, java.lang.String codecCreatorApplication, java.lang.String codecCreatorApplicationVersion, java.lang.String codecQuality, java.lang.String dataRate, java.lang.String dataRateMode)
          Sets the bitrate reduction (aka compression type).
 void setSampleRate(double sampleRate)
          Sets the sample rate.
 void setWordSize(int wordSize)
          Sets the word size.
 

Method Detail

getBitDepth

public int getBitDepth()
Returns the bit depth.


getBitrateReduction

public java.lang.String[] getBitrateReduction()
Returns the bitrate reduction (compression information). This will be an array of seven strings (which may be empty, but should never be null) interpreted as follows:


getSampleRate

public double getSampleRate()
Returns the sample rate.


getWordSize

public int getWordSize()
Returns the word size.


isEmpty

public boolean isEmpty()
Returns true if the region is empty.


setBitDepth

public void setBitDepth(int bitDepth)
Sets the bit depth value.


clearBitrateReduction

public void clearBitrateReduction()
Sets the bitrate reduction information to null (no compression).


setBitrateReduction

public void setBitrateReduction(java.lang.String codecName,
                                java.lang.String codecNameVersion,
                                java.lang.String codecCreatorApplication,
                                java.lang.String codecCreatorApplicationVersion,
                                java.lang.String codecQuality,
                                java.lang.String dataRate,
                                java.lang.String dataRateMode)
Sets the bitrate reduction (aka compression type).


setSampleRate

public void setSampleRate(double sampleRate)
Sets the sample rate.


setWordSize

public void setWordSize(int wordSize)
Sets the word size.