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 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()
      Returns true if 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.