VorbisUtil.VorbisIdHeader


class VorbisUtil.VorbisIdHeader


Vorbis identification header.

See the Vorbis spec/Identification header

Summary

Public constructors

VorbisIdHeader(
    version: Int,
    channels: Int,
    sampleRate: Int,
    bitrateMaximum: Int,
    bitrateNominal: Int,
    bitrateMinimum: Int,
    blockSize0: Int,
    blockSize1: Int,
    framingFlag: Boolean,
    data: ByteArray!
)

Public properties

Int

The bitrate_maximum field, or NO_VALUE if not greater than zero.

Int

The bitrate_minimum field, or NO_VALUE if not greater than zero.

Int

The bitrate_nominal field, or NO_VALUE if not greater than zero.

Int

The blocksize_0 field.

Int

The blocksize_1 field.

Int

The audio_channels field.

ByteArray<Byte>!

The raw header data.

Boolean

The framing_flag field.

Int

The audio_sample_rate field.

Int

The vorbis_version field.

Public constructors

VorbisIdHeader

VorbisIdHeader(
    version: Int,
    channels: Int,
    sampleRate: Int,
    bitrateMaximum: Int,
    bitrateNominal: Int,
    bitrateMinimum: Int,
    blockSize0: Int,
    blockSize1: Int,
    framingFlag: Boolean,
    data: ByteArray!
)
Parameters
version: Int

See version.

channels: Int

See channels.

sampleRate: Int

See sampleRate.

bitrateMaximum: Int

See bitrateMaximum.

bitrateNominal: Int

See bitrateNominal.

bitrateMinimum: Int

See bitrateMinimum.

blockSize0: Int

See version.

blockSize1: Int

See blockSize1.

framingFlag: Boolean

See framingFlag.

data: ByteArray!

See data.

Public properties

bitrateMaximum

val bitrateMaximumInt

The bitrate_maximum field, or NO_VALUE if not greater than zero.

bitrateMinimum

val bitrateMinimumInt

The bitrate_minimum field, or NO_VALUE if not greater than zero.

bitrateNominal

val bitrateNominalInt

The bitrate_nominal field, or NO_VALUE if not greater than zero.

blockSize0

val blockSize0Int

The blocksize_0 field.

blockSize1

val blockSize1Int

The blocksize_1 field.

channels

val channelsInt

The audio_channels field.

data

val dataByteArray<Byte>!

The raw header data.

framingFlag

val framingFlagBoolean

The framing_flag field.

sampleRate

val sampleRateInt

The audio_sample_rate field.

version

val versionInt

The vorbis_version field.