VorbisUtil.VorbisIdHeader


public final class VorbisUtil.VorbisIdHeader


Vorbis identification header.

See the Vorbis spec/Identification header

Summary

Public fields

final int

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

final int

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

final int

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

final int

The blocksize_0 field.

final int

The blocksize_1 field.

final int

The audio_channels field.

final byte[]

The raw header data.

final boolean

The framing_flag field.

final int

The audio_sample_rate field.

final int

The vorbis_version field.

Public constructors

VorbisIdHeader(
    int version,
    int channels,
    int sampleRate,
    int bitrateMaximum,
    int bitrateNominal,
    int bitrateMinimum,
    int blockSize0,
    int blockSize1,
    boolean framingFlag,
    byte[] data
)

Public fields

bitrateMaximum

public final int bitrateMaximum

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

bitrateMinimum

public final int bitrateMinimum

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

bitrateNominal

public final int bitrateNominal

The bitrate_nominal field, or 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.

channels

public final int channels

The audio_channels field.

data

public final byte[] data

The raw header data.

framingFlag

public final boolean framingFlag

The framing_flag field.

sampleRate

public final int sampleRate

The audio_sample_rate field.

version

public final int version

The vorbis_version field.

Public constructors

VorbisIdHeader

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

See version.

int channels

See channels.

int sampleRate

See sampleRate.

int bitrateMaximum

See bitrateMaximum.

int bitrateNominal

See bitrateNominal.

int bitrateMinimum

See bitrateMinimum.

int blockSize0

See version.

int blockSize1

See blockSize1.

boolean framingFlag

See framingFlag.

byte[] data

See data.