public class LameFrame
extends java.lang.Object
This useful to the library because it allows the encoder to be identified, full specification can be found at http://gabriel.mp3-tech.org/mp3infotag.html
Summarized here: 4 bytes:LAME 5 bytes:LAME Encoder Version 1 bytes:VNR Method 1 bytes:Lowpass filter value 8 bytes:Replay Gain 1 byte:Encoding Flags 1 byte:minimal byte rate 3 bytes:extra samples 1 byte:Stereo Mode 1 byte:MP3 Gain 2 bytes:Surround Dound 4 bytes:MusicLength 2 bytes:Music CRC 2 bytes:CRC TagModifier and Type | Field and Description |
---|---|
private java.lang.String |
encoder |
static int |
ENCODER_SIZE |
static int |
LAME_HEADER_BUFFER_SIZE |
static java.lang.String |
LAME_ID |
static int |
LAME_ID_SIZE |
Modifier | Constructor and Description |
---|---|
private |
LameFrame(java.nio.ByteBuffer lameHeader)
Initilise a Lame Mpeg Frame
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEncoder() |
static LameFrame |
parseLameFrame(java.nio.ByteBuffer bb)
Parse frame
|
public static final int LAME_HEADER_BUFFER_SIZE
public static final int ENCODER_SIZE
public static final int LAME_ID_SIZE
public static final java.lang.String LAME_ID
private java.lang.String encoder
private LameFrame(java.nio.ByteBuffer lameHeader)
lameHeader
- public static LameFrame parseLameFrame(java.nio.ByteBuffer bb)
bb
- public java.lang.String getEncoder()
Copyright © 2005-2013 java.net. All Rights Reserved.