Class AacDecoder.StreamInfo

  • Enclosing class:
    AacDecoder

    public static class AacDecoder.StreamInfo
    extends java.lang.Object
    AAC stream information.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int channels
      Channel count (adjusted to PS) of the current stream.
      int frameSize
      Number of samples per channel per frame.
      int sampleRate
      Sample rate (adjusted to SBR) of the current stream.
    • Constructor Summary

      Constructors 
      Constructor Description
      StreamInfo​(int sampleRate, int channels, int frameSize)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • sampleRate

        public final int sampleRate
        Sample rate (adjusted to SBR) of the current stream.
      • channels

        public final int channels
        Channel count (adjusted to PS) of the current stream.
      • frameSize

        public final int frameSize
        Number of samples per channel per frame.
    • Constructor Detail

      • StreamInfo

        public StreamInfo​(int sampleRate,
                          int channels,
                          int frameSize)
        Parameters:
        sampleRate - Sample rate (adjusted to SBR) of the current stream.
        channels - Channel count (adjusted to PS) of the current stream.
        frameSize - Number of samples per channel per frame.