|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javazoom.jl.decoder.Header
public final class Header
Class for extracting information from a frame header.
Field Summary | |
---|---|
static java.lang.String[][][] |
bitrate_str
|
static int[][][] |
bitrates
|
short |
checksum
|
static int |
DUAL_CHANNEL
|
static int |
FOURTYEIGHT
|
static int |
FOURTYFOUR_POINT_ONE
|
int |
framesize
|
static int[][] |
frequencies
|
static int |
JOINT_STEREO
|
static int |
MPEG1
Constant for MPEG-1 version |
static int |
MPEG2_LSF
Constant for MPEG-2 LSF version |
static int |
MPEG25_LSF
|
int |
nSlots
|
static int |
SINGLE_CHANNEL
|
static int |
STEREO
|
static int |
THIRTYTWO
|
Method Summary | |
---|---|
int |
bitrate_index()
Returns bitrate index. |
int |
bitrate_instant()
Return Instant Bitrate. |
java.lang.String |
bitrate_string()
Return Bitrate. |
int |
bitrate()
Return Bitrate. |
int |
calculate_framesize()
Calculate Frame size. |
boolean |
checksum_ok()
Returns Checksum flag. |
boolean |
checksums()
Returns Protection bit. |
boolean |
copyright()
Returns Copyright. |
int |
frequency()
Returns Frequency. |
int |
getSyncHeader()
Returns synchronized header. |
int |
intensity_stereo_bound()
Returns Intensity Stereo. |
java.lang.String |
layer_string()
Return Layer version. |
int |
layer()
Returns Layer ID. |
int |
max_number_of_frames(int streamsize)
Returns the maximum number of frames in the stream. |
int |
min_number_of_frames(int streamsize)
Returns the maximum number of frames in the stream. |
int |
mode_extension()
Returns Mode Extension. |
java.lang.String |
mode_string()
Returns Mode. |
int |
mode()
Returns Mode. |
float |
ms_per_frame()
Returns ms/frame. |
int |
number_of_subbands()
Returns the number of subbands in the current frame. |
boolean |
original()
Returns Original. |
boolean |
padding()
Returns Layer III Padding bit. |
java.lang.String |
sample_frequency_string()
Returns Frequency |
int |
sample_frequency()
Returns Sample Frequency. |
int |
slots()
Returns Slots. |
java.lang.String |
toString()
|
float |
total_ms(int streamsize)
Returns total ms. |
int |
vbr_scale()
Return VBR scale. |
byte[] |
vbr_toc()
Return VBR TOC. |
boolean |
vbr()
Return VBR. |
java.lang.String |
version_string()
Returns Version. |
int |
version()
Returns version. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int[][] frequencies
public static final int MPEG2_LSF
public static final int MPEG25_LSF
public static final int MPEG1
public static final int STEREO
public static final int JOINT_STEREO
public static final int DUAL_CHANNEL
public static final int SINGLE_CHANNEL
public static final int FOURTYFOUR_POINT_ONE
public static final int FOURTYEIGHT
public static final int THIRTYTWO
public short checksum
public int framesize
public int nSlots
public static final int[][][] bitrates
public static final java.lang.String[][][] bitrate_str
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int version()
public int layer()
public int bitrate_index()
public int sample_frequency()
public int frequency()
public int mode()
public boolean checksums()
public boolean copyright()
public boolean original()
public boolean vbr()
public int vbr_scale()
public byte[] vbr_toc()
public boolean checksum_ok()
public boolean padding()
public int slots()
public int mode_extension()
public int calculate_framesize()
public int max_number_of_frames(int streamsize)
streamsize
-
public int min_number_of_frames(int streamsize)
streamsize
-
public float ms_per_frame()
public float total_ms(int streamsize)
streamsize
-
public int getSyncHeader()
public java.lang.String layer_string()
public java.lang.String bitrate_string()
public int bitrate()
public int bitrate_instant()
public java.lang.String sample_frequency_string()
public java.lang.String mode_string()
public java.lang.String version_string()
public int number_of_subbands()
public int intensity_stereo_bound()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |