Class AudioFormatKeys

java.lang.Object
org.monte.media.av.FormatKeys
org.monte.media.av.codec.audio.AudioFormatKeys

public class AudioFormatKeys extends FormatKeys
Defines common format keys for audio media.
Author:
Werner Randelshofer
  • Field Details

    • ENCODING_PCM_SIGNED

      public static final String ENCODING_PCM_SIGNED
      Specifies SignedKey, linear PCM data.
    • ENCODING_PCM_UNSIGNED

      public static final String ENCODING_PCM_UNSIGNED
      Specifies unsigned, linear PCM data.
    • ENCODING_ULAW

      public static final String ENCODING_ULAW
      Specifies u-law encoded data.
    • ENCODING_ALAW

      public static final String ENCODING_ALAW
      Specifies a-law encoded data.
    • ENCODING_AVI_PCM

      public static final String ENCODING_AVI_PCM
      AVI PCM encoding.
      See Also:
    • ENCODING_QUICKTIME_TWOS_PCM

      public static final String ENCODING_QUICKTIME_TWOS_PCM
      QuickTime 16-bit big endian signed PCM encoding.
      See Also:
    • ENCODING_QUICKTIME_SOWT_PCM

      public static final String ENCODING_QUICKTIME_SOWT_PCM
      QuickTime 16-bit little endian signed PCM encoding.
      See Also:
    • ENCODING_QUICKTIME_IN24_PCM

      public static final String ENCODING_QUICKTIME_IN24_PCM
      QuickTime 24-bit big endian signed PCM encoding.
      See Also:
    • ENCODING_QUICKTIME_IN32_PCM

      public static final String ENCODING_QUICKTIME_IN32_PCM
      QuickTime 32-bit big endian signed PCM encoding.
      See Also:
    • ENCODING_QUICKTIME_RAW_PCM

      public static final String ENCODING_QUICKTIME_RAW_PCM
      QuickTime 8-bit unsigned PCM encoding.
      See Also:
    • ENCODING_MP3

      public static final String ENCODING_MP3
      Specifies MP3 encoded data.
      See Also:
    • SampleSizeInBitsKey

      public static final FormatKey<Integer> SampleSizeInBitsKey
      The sample size in bits.
    • ChannelsKey

      public static final FormatKey<Integer> ChannelsKey
      The number of ChannelsKey.
    • FrameSizeKey

      public static final FormatKey<Integer> FrameSizeKey
      The size of a frame.
    • ByteOrderKey

      public static final FormatKey<ByteOrder> ByteOrderKey
      The compressor name.
    • SampleRateKey

      public static final FormatKey<Rational> SampleRateKey
      The number of frames per second.
    • SignedKey

      public static final FormatKey<Boolean> SignedKey
      Whether values are signed.
    • SilenceBugKey

      public static final FormatKey<Boolean> SilenceBugKey
      Whether silence is encoded as -128 instead of 0.
  • Constructor Details

    • AudioFormatKeys

      public AudioFormatKeys()
  • Method Details