lame.blade
Class BE_CONFIG.STRUCT_FORMAT.STRUCT_MP3

java.lang.Object
  extended by lame.blade.BE_CONFIG.STRUCT_FORMAT.STRUCT_MP3
Enclosing class:
BE_CONFIG.STRUCT_FORMAT

public static class BE_CONFIG.STRUCT_FORMAT.STRUCT_MP3
extends java.lang.Object

The STRUCT_MP3 class is the Java symmetric representation of the structure data type of the mp3 field of the STRUCT_FORMAT structure.

            struct      {

                    DWORD       dwSampleRate;           // 48000, 44100 and 32000 allowed
                    BYTE        byMode;                 // BE_MP3_MODE_STEREO, BE_MP3_MODE_DUALCHANNEL, BE_MP3_MODE_MONO
                    WORD        wBitrate;               // 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256 and 320 allowed
                    BOOL        bPrivate;               
                    BOOL        bCRC;
                    BOOL        bCopyright;
                    BOOL        bOriginal;

                    }
         

See Also:
BE_CONFIG.STRUCT_FORMAT

Field Summary
protected  int bCopyright
           
protected  int bCRC
           
protected  int bOriginal
           
protected  int bPrivate
           
protected  byte byMode
           
protected  int dwSampleRate
           
protected  short wBitrate
           
 
Constructor Summary
BE_CONFIG.STRUCT_FORMAT.STRUCT_MP3()
           
 
Method Summary
 byte getByMode()
          Returns the current value of byMode attribute.
 int getDwSampleRate()
          Returns the current value of dwSampleRate attribute.
 short getWBitrate()
          Returns the current value of wBitrate attribute.
 boolean isBCopyright()
          Returns the current value of bCopyright attribute.
 boolean isBCRC()
          Returns the current value of bCRC attribute.
 boolean isBOriginal()
          Returns the current value of bOriginal attribute.
 boolean isBPrivate()
          Returns the current value of bPrivate attribute.
 void setBCopyright(boolean bCopyright)
          Sets the value of the bCopyright attribute.
 void setBCRC(boolean bCRC)
          Sets the value of the bCRC attribute.
 void setBOriginal(boolean bOriginal)
          Sets the value of the bOriginal attribute.
 void setBPrivate(boolean bPrivate)
          Sets the value of the bPrivate attribute.
 void setByMode(byte byMode)
          Sets the value of the byMode attribute.
 void setDwSampleRate(int dwSampleRate)
          Sets the value of the dwSampleRate attribute.
 void setWBitrate(short wBitrate)
          Sets the value of the wBitrate attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dwSampleRate

protected int dwSampleRate

byMode

protected byte byMode

wBitrate

protected short wBitrate

bPrivate

protected int bPrivate

bCRC

protected int bCRC

bCopyright

protected int bCopyright

bOriginal

protected int bOriginal
Constructor Detail

BE_CONFIG.STRUCT_FORMAT.STRUCT_MP3

public BE_CONFIG.STRUCT_FORMAT.STRUCT_MP3()
Method Detail

getDwSampleRate

public int getDwSampleRate()
Returns the current value of dwSampleRate attribute.

Returns:
the value of dwSampleRate

setDwSampleRate

public void setDwSampleRate(int dwSampleRate)
Sets the value of the dwSampleRate attribute.

Parameters:
dwSampleRate - the new value

getByMode

public byte getByMode()
Returns the current value of byMode attribute.

Returns:
the value of byMode

setByMode

public void setByMode(byte byMode)
Sets the value of the byMode attribute.

Parameters:
byMode - the new value

getWBitrate

public short getWBitrate()
Returns the current value of wBitrate attribute.

Returns:
the value of wBitrate

setWBitrate

public void setWBitrate(short wBitrate)
Sets the value of the wBitrate attribute.

Parameters:
wBitrate - the new value

isBPrivate

public boolean isBPrivate()
Returns the current value of bPrivate attribute.

Returns:
the value of bPrivate

setBPrivate

public void setBPrivate(boolean bPrivate)
Sets the value of the bPrivate attribute.

Parameters:
bPrivate - the new value

isBCRC

public boolean isBCRC()
Returns the current value of bCRC attribute.

Returns:
the value of bCRC

setBCRC

public void setBCRC(boolean bCRC)
Sets the value of the bCRC attribute.

Parameters:
bCRC - the new value

isBCopyright

public boolean isBCopyright()
Returns the current value of bCopyright attribute.

Returns:
the value of bCopyright

setBCopyright

public void setBCopyright(boolean bCopyright)
Sets the value of the bCopyright attribute.

Parameters:
bCopyright - the new value

isBOriginal

public boolean isBOriginal()
Returns the current value of bOriginal attribute.

Returns:
the value of bOriginal

setBOriginal

public void setBOriginal(boolean bOriginal)
Sets the value of the bOriginal attribute.

Parameters:
bOriginal - the new value


Copyright © 2006-2008 Jose Maria Arranz. All Rights Reserved.