Class VorbisUtil.VorbisIdHeader

    • Field Detail

      • version

        public final int version
        The vorbis_version field.
      • channels

        public final int channels
        The audio_channels field.
      • sampleRate

        public final int sampleRate
        The audio_sample_rate field.
      • bitrateMaximum

        public final int bitrateMaximum
        The bitrate_maximum field, or Format.NO_VALUE if not greater than zero.
      • bitrateNominal

        public final int bitrateNominal
        The bitrate_nominal field, or Format.NO_VALUE if not greater than zero.
      • bitrateMinimum

        public final int bitrateMinimum
        The bitrate_minimum field, or Format.NO_VALUE if not greater than zero.
      • blockSize0

        public final int blockSize0
        The blocksize_0 field.
      • blockSize1

        public final int blockSize1
        The blocksize_1 field.
      • framingFlag

        public final boolean framingFlag
        The framing_flag field.
      • data

        public final byte[] data
        The raw header data.
    • Constructor Detail

      • VorbisIdHeader

        public VorbisIdHeader​(int version,
                              int channels,
                              int sampleRate,
                              int bitrateMaximum,
                              int bitrateNominal,
                              int bitrateMinimum,
                              int blockSize0,
                              int blockSize1,
                              boolean framingFlag,
                              byte[] data)
        Parameters:
        version - See version.
        channels - See channels.
        sampleRate - See sampleRate.
        bitrateMaximum - See bitrateMaximum.
        bitrateNominal - See bitrateNominal.
        bitrateMinimum - See bitrateMinimum.
        blockSize0 - See version.
        blockSize1 - See blockSize1.
        framingFlag - See framingFlag.
        data - See data.