lame.std
Class mp3data_struct
java.lang.Object
lame.std.mp3data_struct
public class mp3data_struct
- extends java.lang.Object
typedef struct {
int header_parsed; // 1 if header was parsed and following data was computed
int stereo; // number of channels
int samplerate; // sample rate
int bitrate; // bitrate
int mode; // mp3 frame type
int mode_ext; // mp3 frame type
int framesize; // number of samples per mp3 frame
// this data is only computed if mpglib detects a Xing VBR header
unsigned long nsamp; // number of samples in mp3 file.
int totalframes; // total number of frames in mp3 file
// this data is not currently computed by the mpglib routines
int framenum;
} mp3data_struct;
Constructor Summary |
mp3data_struct()
Creates a new instance of mp3data_struct |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
header_parsed
protected int header_parsed
stereo
protected int stereo
samplerate
protected int samplerate
bitrate
protected int bitrate
mode
protected int mode
mode_ext
protected int mode_ext
framesize
protected int framesize
nsamp
protected int nsamp
totalframes
protected int totalframes
framenum
protected int framenum
mp3data_struct
public mp3data_struct()
- Creates a new instance of mp3data_struct
getHeader_parsed
public int getHeader_parsed()
setHeader_parsed
public void setHeader_parsed(int header_parsed)
getStereo
public int getStereo()
setStereo
public void setStereo(int stereo)
getSamplerate
public int getSamplerate()
setSamplerate
public void setSamplerate(int samplerate)
getBitrate
public int getBitrate()
setBitrate
public void setBitrate(int bitrate)
getMode
public int getMode()
setMode
public void setMode(int mode)
getMode_ext
public int getMode_ext()
setMode_ext
public void setMode_ext(int mode_ext)
getFramesize
public int getFramesize()
setFramesize
public void setFramesize(int framesize)
getNsamp
public int getNsamp()
setNsamp
public void setNsamp(int nsamp)
getTotalframes
public int getTotalframes()
setTotalframes
public void setTotalframes(int totalframes)
getFramenum
public int getFramenum()
setFramenum
public void setFramenum(int framenum)
Copyright © 2006-2008 Jose Maria Arranz. All Rights Reserved.