Maven module :un.storage : media-mpeg123 :
Class : un.storage.media.mp3.MP3Constants
Extends/Implements : -
Subclasses : -

Some informations are from :
https://github.com/wilkie/djehuty
Thanks to Dave Wilkinson
author  Johann Sorel


Variables : SYNC, LAYER_I, LAYER_II, LAYER_III, MODE_STEREO, MODE_JOINT_STEREO, MODE_DUAL_CHANNEL, MODE_SINGLE_CHANNEL, LAYER_I_BITPERSAMPLE, MPEG1_LAYER_I_BITRATES, MPEG1_LAYER_II_BITRATES, MPEG1_LAYER_III_BITRATES, MPEG2_LAYER_I_BITRATES, MPEG2_LAYER_II_BITRATES, MPEG2_LAYER_III_BITRATES, MEPG1_SAMPLING_FREQUENCIES, MEPG2_SAMPLING_FREQUENCIES, MEPG25_SAMPLING_FREQUENCIES, sfindex_long, sfindex_short, huffmanTables, huffmanTable24, huffmanValues
Functions : -



Sync bytes, 12 bits.
public int SYNC


MP3 Header layer type */
public int LAYER_I

public int LAYER_II

public int LAYER_III

public int MODE_STEREO

public int MODE_JOINT_STEREO

public int MODE_DUAL_CHANNEL

public int MODE_SINGLE_CHANNEL



public int[] LAYER_I_BITPERSAMPLE


layers bit rates (MPEG-1)
the first entry is the 'free' bitrate
public int[] MPEG1_LAYER_I_BITRATES

public int[] MPEG1_LAYER_II_BITRATES

public int[] MPEG1_LAYER_III_BITRATES


layers bit rates (MPEG-2 and 2.5)
the first entry is the 'free' bitrate
public int[] MPEG2_LAYER_I_BITRATES

public int[] MPEG2_LAYER_II_BITRATES

public int[] MPEG2_LAYER_III_BITRATES


the final entry is reserved, but set to 1.0 due to being used in division
public double[] MEPG1_SAMPLING_FREQUENCIES

public double[] MEPG2_SAMPLING_FREQUENCIES

public double[] MEPG25_SAMPLING_FREQUENCIES



public int[][] sfindex_long



public int[][] sfindex_short

public int[][][] huffmanTables



public int[][] huffmanTable24

public int[][] huffmanValues