|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlame.blade.BladeMP3EncDLL
public class BladeMP3EncDLL
The BladeMP3EncDLL
class is the container of
the symmetric C LAME exported methods and constants declared
in the file BladeMP3EncDLL.h.
Field Summary | |
---|---|
static int |
BE_CONFIG_LAME
Corresponds to C declaration:
#define BE_CONFIG_LAME 256
|
static int |
BE_CONFIG_MP3
Corresponds to C declaration:
#define BE_CONFIG_MP3 0
|
static int |
BE_ERR_BUFFER_TOO_SMALL
Corresponds to C declaration:
#define BE_ERR_BUFFER_TOO_SMALL 0x00000005
|
static int |
BE_ERR_INVALID_FORMAT
Corresponds to C declaration:
#define BE_ERR_INVALID_FORMAT 0x00000001
|
static int |
BE_ERR_INVALID_FORMAT_PARAMETERS
Corresponds to C declaration:
#define BE_ERR_INVALID_FORMAT_PARAMETERS 0x00000002
|
static int |
BE_ERR_INVALID_HANDLE
Corresponds to C declaration:
#define BE_ERR_INVALID_HANDLE 0x00000004
|
static int |
BE_ERR_NO_MORE_HANDLES
Corresponds to C declaration:
#define BE_ERR_NO_MORE_HANDLES 0x00000003
|
static int |
BE_ERR_SUCCESSFUL
Corresponds to C declaration:
#define BE_ERR_SUCCESSFUL 0x00000000
|
static int |
BE_MAX_HOMEPAGE
Corresponds to C declaration:
#define BE_MAX_HOMEPAGE 128
|
static byte |
BE_MP3_MODE_DUALCHANNEL
Corresponds to C declaration:
#define BE_MP3_MODE_DUALCHANNEL 2
|
static byte |
BE_MP3_MODE_JSTEREO
Corresponds to C declaration:
#define BE_MP3_MODE_JSTEREO 1
|
static byte |
BE_MP3_MODE_MONO
Corresponds to C declaration:
#define BE_MP3_MODE_MONO 3
|
static byte |
BE_MP3_MODE_STEREO
Corresponds to C declaration:
#define BE_MP3_MODE_STEREO 0
|
static int |
CURRENT_STRUCT_SIZE
Corresponds to C declaration:
#define CURRENT_STRUCT_SIZE sizeof(BE_CONFIG) // is currently 331 bytes
|
static int |
CURRENT_STRUCT_VERSION
Corresponds to C declaration:
#define CURRENT_STRUCT_VERSION 1
|
static int |
MPEG1
Corresponds to C declaration:
#define MPEG1 1
|
static int |
MPEG2
Corresponds to C declaration:
#define MPEG1 0
|
Method Summary | |
---|---|
static int |
beCloseStream(int hbeStream)
Corresponds with the C method:
BE_ERR beCloseStream(HBE_STREAM hbeStream);
|
static int |
beDeinitStream(int hbeStream,
byte[] pOutput,
com.innowhere.jnieasy.core.data.NativeInteger pdwOutput)
Corresponds with the C method:
BE_ERR beDeinitStream(HBE_STREAM hbeStream, PBYTE pOutput, PDWORD pdwOutput);
|
static int |
beEncodeChunk(int hbeStream,
int nSamples,
byte[] pSamples,
byte[] pOutput,
com.innowhere.jnieasy.core.data.NativeInteger pdwOutput)
Corresponds with the C method:
BE_ERR beEncodeChunk(HBE_STREAM hbeStream, DWORD nSamples, PSHORT pSamples, PBYTE pOutput, PDWORD pdwOutput);
This is a convenience method using byte[] array instead of short[], the byte[] buffer used
must be 2x the length of the analogous short[] version. |
static int |
beEncodeChunk(int hbeStream,
int nSamples,
short[] pSamples,
byte[] pOutput,
com.innowhere.jnieasy.core.data.NativeInteger pdwOutput)
Corresponds with the C method:
BE_ERR beEncodeChunk(HBE_STREAM hbeStream, DWORD nSamples, PSHORT pSamples, PBYTE pOutput, PDWORD pdwOutput);
|
static int |
beEncodeChunkFloatS16NI(int hbeStream,
int nSamples,
float[] buffer_l,
float[] buffer_r,
byte[] pOutput,
com.innowhere.jnieasy.core.data.NativeInteger pdwOutput)
Corresponds with the C method:
BE_ERR beEncodeChunkFloatS16NI(HBE_STREAM hbeStream, DWORD nSamples, PFLOAT buffer_l, PFLOAT buffer_r, PBYTE pOutput, PDWORD pdwOutput);
|
static int |
beFlushNoGap(int hbeStream,
byte[] pOutput,
com.innowhere.jnieasy.core.data.NativeInteger pdwOutput)
Corresponds with the C method:
BE_ERR beFlushNoGap(HBE_STREAM hbeStream, PBYTE pOutput, PDWORD pdwOutput);
|
static int |
beInitStream(BE_CONFIG pbeConfig,
com.innowhere.jnieasy.core.data.NativeInteger pDwSamples,
com.innowhere.jnieasy.core.data.NativeInteger pDwBufferSize,
com.innowhere.jnieasy.core.data.NativeInteger phbeStream)
Corresponds with the C method:
BE_ERR beInitStream(PBE_CONFIG pbeConfig, PDWORD dwSamples, PDWORD dwBufferSize, PHBE_STREAM phbeStream);
|
static void |
beVersion(BE_VERSION pbeVersion)
Corresponds with the C method:
VOID beVersion(PBE_VERSION pbeVersion);
|
static void |
beWriteVBRHeader(java.lang.String pszMP3FileName)
Corresponds with the C method:
VOID beWriteVBRHeader( LPCSTR pszMP3FileName );
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int BE_CONFIG_MP3
#define BE_CONFIG_MP3 0
public static final int BE_CONFIG_LAME
#define BE_CONFIG_LAME 256
public static final int BE_ERR_SUCCESSFUL
#define BE_ERR_SUCCESSFUL 0x00000000
public static final int BE_ERR_INVALID_FORMAT
#define BE_ERR_INVALID_FORMAT 0x00000001
public static final int BE_ERR_INVALID_FORMAT_PARAMETERS
#define BE_ERR_INVALID_FORMAT_PARAMETERS 0x00000002
public static final int BE_ERR_NO_MORE_HANDLES
#define BE_ERR_NO_MORE_HANDLES 0x00000003
public static final int BE_ERR_INVALID_HANDLE
#define BE_ERR_INVALID_HANDLE 0x00000004
public static final int BE_ERR_BUFFER_TOO_SMALL
#define BE_ERR_BUFFER_TOO_SMALL 0x00000005
public static final int BE_MAX_HOMEPAGE
#define BE_MAX_HOMEPAGE 128
public static final byte BE_MP3_MODE_STEREO
#define BE_MP3_MODE_STEREO 0
public static final byte BE_MP3_MODE_JSTEREO
#define BE_MP3_MODE_JSTEREO 1
public static final byte BE_MP3_MODE_DUALCHANNEL
#define BE_MP3_MODE_DUALCHANNEL 2
public static final byte BE_MP3_MODE_MONO
#define BE_MP3_MODE_MONO 3
public static final int MPEG1
#define MPEG1 1
public static final int MPEG2
#define MPEG1 0
public static final int CURRENT_STRUCT_VERSION
#define CURRENT_STRUCT_VERSION 1
public static final int CURRENT_STRUCT_SIZE
#define CURRENT_STRUCT_SIZE sizeof(BE_CONFIG) // is currently 331 bytes
Method Detail |
---|
public static int beCloseStream(int hbeStream)
BE_ERR beCloseStream(HBE_STREAM hbeStream);
public static int beDeinitStream(int hbeStream, byte[] pOutput, com.innowhere.jnieasy.core.data.NativeInteger pdwOutput)
BE_ERR beDeinitStream(HBE_STREAM hbeStream, PBYTE pOutput, PDWORD pdwOutput);
public static int beEncodeChunk(int hbeStream, int nSamples, short[] pSamples, byte[] pOutput, com.innowhere.jnieasy.core.data.NativeInteger pdwOutput)
BE_ERR beEncodeChunk(HBE_STREAM hbeStream, DWORD nSamples, PSHORT pSamples, PBYTE pOutput, PDWORD pdwOutput);
public static int beEncodeChunk(int hbeStream, int nSamples, byte[] pSamples, byte[] pOutput, com.innowhere.jnieasy.core.data.NativeInteger pdwOutput)
BE_ERR beEncodeChunk(HBE_STREAM hbeStream, DWORD nSamples, PSHORT pSamples, PBYTE pOutput, PDWORD pdwOutput);
This is a convenience method using byte[] array instead of short[], the byte[] buffer used
must be 2x the length of the analogous short[] version.
beEncodeChunk(int,int,short[],byte[],com.innowhere.jnieasy.core.data.NativeInteger)
public static int beEncodeChunkFloatS16NI(int hbeStream, int nSamples, float[] buffer_l, float[] buffer_r, byte[] pOutput, com.innowhere.jnieasy.core.data.NativeInteger pdwOutput)
BE_ERR beEncodeChunkFloatS16NI(HBE_STREAM hbeStream, DWORD nSamples, PFLOAT buffer_l, PFLOAT buffer_r, PBYTE pOutput, PDWORD pdwOutput);
public static int beFlushNoGap(int hbeStream, byte[] pOutput, com.innowhere.jnieasy.core.data.NativeInteger pdwOutput)
BE_ERR beFlushNoGap(HBE_STREAM hbeStream, PBYTE pOutput, PDWORD pdwOutput);
public static int beInitStream(BE_CONFIG pbeConfig, com.innowhere.jnieasy.core.data.NativeInteger pDwSamples, com.innowhere.jnieasy.core.data.NativeInteger pDwBufferSize, com.innowhere.jnieasy.core.data.NativeInteger phbeStream)
BE_ERR beInitStream(PBE_CONFIG pbeConfig, PDWORD dwSamples, PDWORD dwBufferSize, PHBE_STREAM phbeStream);
public static void beVersion(BE_VERSION pbeVersion)
VOID beVersion(PBE_VERSION pbeVersion);
public static void beWriteVBRHeader(java.lang.String pszMP3FileName)
VOID beWriteVBRHeader( LPCSTR pszMP3FileName );
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |