Package edu.harvard.hul.ois.jhove
Interface AESAudioMetadata.FormatRegion
- Enclosing class:
- 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
Modifier and TypeMethodDescriptionvoidSets the bitrate reduction information to null (no compression).intReturns the bit depth.String[]Returns the bitrate reduction (compression information).doubleReturns the sample rate.intReturns the word size.booleanisEmpty()Returnstrueif the region is empty.voidsetBitDepth(int bitDepth) Sets the bit depth value.voidsetBitrateReduction(String codecName, String codecNameVersion, String codecCreatorApplication, String codecCreatorApplicationVersion, String codecQuality, String dataRate, String dataRateMode) Sets the bitrate reduction (aka compression type).voidsetSampleRate(double sampleRate) Sets the sample rate.voidsetWordSize(int wordSize) Sets the word size.
-
Method Details
-
getBitDepth
int getBitDepth()Returns the bit depth. -
getBitrateReduction
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:- 0: codecName
- 1: codecNameVersion
- 2: codecCreatorApplication
- 3: codecCreatorApplicationVersion
- 4: codecQuality
- 5: dataRate
- 6: dataRateMode
-
getSampleRate
double getSampleRate()Returns the sample rate. -
getWordSize
int getWordSize()Returns the word size. -
isEmpty
boolean isEmpty()Returnstrueif the region is empty. -
setBitDepth
void setBitDepth(int bitDepth) Sets the bit depth value. -
clearBitrateReduction
void clearBitrateReduction()Sets the bitrate reduction information to null (no compression). -
setBitrateReduction
void setBitrateReduction(String codecName, String codecNameVersion, String codecCreatorApplication, String codecCreatorApplicationVersion, String codecQuality, String dataRate, String dataRateMode) Sets the bitrate reduction (aka compression type). -
setSampleRate
void setSampleRate(double sampleRate) Sets the sample rate. -
setWordSize
void setWordSize(int wordSize) Sets the word size.
-