public class VoiceCaptureDSP
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLSID_CWMAudioAEC |
static int |
DMO_E_NOTACCEPTING |
static int |
DMO_INPUT_STATUSF_ACCEPT_DATA |
static int |
DMO_OUTPUT_DATA_BUFFERF_INCOMPLETE |
static int |
DMO_SET_TYPEF_TEST_ONLY |
static java.lang.String |
FORMAT_None |
static java.lang.String |
FORMAT_WaveFormatEx |
static java.lang.String |
IID_IMediaObject |
static java.lang.String |
IID_IPropertyStore |
static java.lang.String |
MEDIASUBTYPE_PCM |
static java.lang.String |
MEDIATYPE_Audio |
static long |
MFPKEY_WMAAECMA_DEVICE_INDEXES
Specifies which audio devices the Voice Capture DSP uses for capturing
and rendering audio.
|
static long |
MFPKEY_WMAAECMA_DMO_SOURCE_MODE
Specifies whether the Voice Capture DSP uses source mode (true)
or filter mode (false).
|
static long |
MFPKEY_WMAAECMA_FEATR_AES
Specifies how many times the Voice Capture DSP performs acoustic echo
suppression (AES) on the residual signal.
|
static long |
MFPKEY_WMAAECMA_FEATR_AGC
Specifies whether the Voice Capture DSP performs automatic gain control.
|
static long |
MFPKEY_WMAAECMA_FEATR_CENTER_CLIP
Specifies whether the Voice Capture DSP performs center clipping.
|
static long |
MFPKEY_WMAAECMA_FEATR_ECHO_LENGTH
Specifies the duration of echo that the acoustic echo cancellation (AEC)
algorithm can handle, in milliseconds.
|
static long |
MFPKEY_WMAAECMA_FEATR_NOISE_FILL
Specifies whether the Voice Capture DSP performs noise filling.
|
static long |
MFPKEY_WMAAECMA_FEATR_NS
Specifies whether the Voice Capture DSP performs noise suppression.
|
static long |
MFPKEY_WMAAECMA_FEATURE_MODE
Enables the application to override the default settings on various
properties of the Voice Capture DSP.
|
static long |
MFPKEY_WMAAECMA_MIC_GAIN_BOUNDER
Specifies whether the Voice Capture DSP applies microphone gain bounding.
|
static long |
MFPKEY_WMAAECMA_SYSTEM_MODE
Specifies the processing mode for the Voice Capture DSP.
|
static int |
SINGLE_CHANNEL_AEC
The value of the AEC_SYSTEM_MODE enumeration which is used with
the MFPKEY_WMAAECMA_SYSTEM_MODE property to indicate that the
Voice Capture DSP is to operate in acoustic echo cancellation (AEC) only
mode.
|
Modifier and Type | Method and Description |
---|---|
static int |
DMO_MEDIA_TYPE_fill(long thiz,
java.lang.String majortype,
java.lang.String subtype,
boolean bFixedSizeSamples,
boolean bTemporalCompression,
int lSampleSize,
java.lang.String formattype,
long pUnk,
int cbFormat,
long pbFormat) |
static void |
DMO_MEDIA_TYPE_setCbFormat(long thiz,
int cbFormat) |
static int |
DMO_MEDIA_TYPE_setFormattype(long thiz,
java.lang.String formattype) |
static void |
DMO_MEDIA_TYPE_setLSampleSize(long thiz,
int lSampleSize) |
static void |
DMO_MEDIA_TYPE_setPbFormat(long thiz,
long pbFormat) |
static long |
DMO_OUTPUT_DATA_BUFFER_alloc(long pBuffer,
int dwStatus,
long rtTimestamp,
long rtTimelength) |
static int |
DMO_OUTPUT_DATA_BUFFER_getDwStatus(long thiz) |
static void |
DMO_OUTPUT_DATA_BUFFER_setDwStatus(long thiz,
int dwStatus) |
static int |
IMediaBuffer_AddRef(long thiz) |
static long |
IMediaBuffer_GetBuffer(long thiz) |
static int |
IMediaBuffer_GetLength(long thiz) |
static int |
IMediaBuffer_GetMaxLength(long thiz) |
static int |
IMediaBuffer_Release(long thiz) |
static void |
IMediaBuffer_SetLength(long thiz,
int cbLength) |
static int |
IMediaObject_Flush(long thiz) |
static int |
IMediaObject_GetInputStatus(long thiz,
int dwInputStreamIndex) |
static int |
IMediaObject_ProcessInput(long thiz,
int dwInputStreamIndex,
long pBuffer,
int dwFlags,
long rtTimestamp,
long rtTimelength) |
static int |
IMediaObject_ProcessOutput(long thiz,
int dwFlags,
int cOutputBufferCount,
long pOutputBuffers) |
static long |
IMediaObject_QueryInterface(long thiz,
java.lang.String iid) |
static void |
IMediaObject_Release(long thiz) |
static int |
IMediaObject_SetInputType(long thiz,
int dwInputStreamIndex,
long pmt,
int dwFlags) |
static int |
IMediaObject_SetOutputType(long thiz,
int dwOutputStreamIndex,
long pmt,
int dwFlags) |
static int |
IPropertyStore_SetValue(long thiz,
long key,
boolean value) |
static int |
IPropertyStore_SetValue(long thiz,
long key,
int value) |
static long |
MediaBuffer_alloc(int maxLength) |
static int |
MediaBuffer_pop(long thiz,
byte[] buffer,
int offset,
int length) |
static int |
MediaBuffer_push(long thiz,
byte[] buffer,
int offset,
int length) |
static long |
MoCreateMediaType(int cbFormat) |
static void |
MoDeleteMediaType(long pmt) |
static void |
MoFreeMediaType(long pmt) |
static void |
MoInitMediaType(long pmt,
int cbFormat) |
public static final java.lang.String CLSID_CWMAudioAEC
public static final int DMO_E_NOTACCEPTING
public static final int DMO_INPUT_STATUSF_ACCEPT_DATA
public static final int DMO_OUTPUT_DATA_BUFFERF_INCOMPLETE
public static final int DMO_SET_TYPEF_TEST_ONLY
public static final java.lang.String FORMAT_None
public static final java.lang.String FORMAT_WaveFormatEx
public static final java.lang.String IID_IMediaObject
public static final java.lang.String IID_IPropertyStore
public static final java.lang.String MEDIASUBTYPE_PCM
public static final java.lang.String MEDIATYPE_Audio
public static final long MFPKEY_WMAAECMA_DEVICE_INDEXES
public static final long MFPKEY_WMAAECMA_DMO_SOURCE_MODE
public static final long MFPKEY_WMAAECMA_FEATR_AES
MFPKEY_WMAAECMA_FEATURE_MODE
property
to true. The DSP uses this property only when AEC processing is
enabled.public static final long MFPKEY_WMAAECMA_FEATR_AGC
MFPKEY_WMAAECMA_FEATURE_MODE
property to true.public static final long MFPKEY_WMAAECMA_FEATR_CENTER_CLIP
MFPKEY_WMAAECMA_FEATURE_MODE
property to true. The DSP
uses this property only when AEC processing is enabled.public static final long MFPKEY_WMAAECMA_FEATR_ECHO_LENGTH
MFPKEY_WMAAECMA_FEATURE_MODE
property to true. The
DSP uses this property only when AEC processing is enabled.public static final long MFPKEY_WMAAECMA_FEATR_NOISE_FILL
MFPKEY_WMAAECMA_FEATURE_MODE
property to true. The DSP
uses this property only when AEC processing is enabled.public static final long MFPKEY_WMAAECMA_FEATR_NS
MFPKEY_WMAAECMA_FEATURE_MODE
property to
true.public static final long MFPKEY_WMAAECMA_FEATURE_MODE
public static final long MFPKEY_WMAAECMA_MIC_GAIN_BOUNDER
public static final long MFPKEY_WMAAECMA_SYSTEM_MODE
SINGLE_CHANNEL_AEC
public static final int SINGLE_CHANNEL_AEC
public static int DMO_MEDIA_TYPE_fill(long thiz, java.lang.String majortype, java.lang.String subtype, boolean bFixedSizeSamples, boolean bTemporalCompression, int lSampleSize, java.lang.String formattype, long pUnk, int cbFormat, long pbFormat) throws HResultException
HResultException
public static void DMO_MEDIA_TYPE_setCbFormat(long thiz, int cbFormat)
public static int DMO_MEDIA_TYPE_setFormattype(long thiz, java.lang.String formattype) throws HResultException
HResultException
public static void DMO_MEDIA_TYPE_setLSampleSize(long thiz, int lSampleSize)
public static void DMO_MEDIA_TYPE_setPbFormat(long thiz, long pbFormat)
public static long DMO_OUTPUT_DATA_BUFFER_alloc(long pBuffer, int dwStatus, long rtTimestamp, long rtTimelength)
public static int DMO_OUTPUT_DATA_BUFFER_getDwStatus(long thiz)
public static void DMO_OUTPUT_DATA_BUFFER_setDwStatus(long thiz, int dwStatus)
public static int IMediaBuffer_AddRef(long thiz)
public static long IMediaBuffer_GetBuffer(long thiz) throws HResultException
HResultException
public static int IMediaBuffer_GetLength(long thiz) throws HResultException
HResultException
public static int IMediaBuffer_GetMaxLength(long thiz) throws HResultException
HResultException
public static int IMediaBuffer_Release(long thiz)
public static void IMediaBuffer_SetLength(long thiz, int cbLength) throws HResultException
HResultException
public static int IMediaObject_Flush(long thiz) throws HResultException
HResultException
public static int IMediaObject_GetInputStatus(long thiz, int dwInputStreamIndex) throws HResultException
HResultException
public static int IMediaObject_ProcessInput(long thiz, int dwInputStreamIndex, long pBuffer, int dwFlags, long rtTimestamp, long rtTimelength) throws HResultException
HResultException
public static int IMediaObject_ProcessOutput(long thiz, int dwFlags, int cOutputBufferCount, long pOutputBuffers) throws HResultException
HResultException
public static long IMediaObject_QueryInterface(long thiz, java.lang.String iid) throws HResultException
HResultException
public static void IMediaObject_Release(long thiz)
public static int IMediaObject_SetInputType(long thiz, int dwInputStreamIndex, long pmt, int dwFlags) throws HResultException
HResultException
public static int IMediaObject_SetOutputType(long thiz, int dwOutputStreamIndex, long pmt, int dwFlags) throws HResultException
HResultException
public static int IPropertyStore_SetValue(long thiz, long key, boolean value) throws HResultException
HResultException
public static int IPropertyStore_SetValue(long thiz, long key, int value) throws HResultException
HResultException
public static long MediaBuffer_alloc(int maxLength)
public static int MediaBuffer_pop(long thiz, byte[] buffer, int offset, int length) throws HResultException
HResultException
public static int MediaBuffer_push(long thiz, byte[] buffer, int offset, int length) throws HResultException
HResultException
public static long MoCreateMediaType(int cbFormat) throws HResultException
HResultException
public static void MoDeleteMediaType(long pmt) throws HResultException
HResultException
public static void MoFreeMediaType(long pmt) throws HResultException
HResultException
public static void MoInitMediaType(long pmt, int cbFormat) throws HResultException
HResultException
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.