Package | Description |
---|---|
org.jitsi.impl.neomedia.device | |
org.jitsi.impl.neomedia.jmfext.media.protocol.wasapi |
Modifier and Type | Method and Description |
---|---|
static int |
WASAPISystem.CoInitializeEx()
Invokes the Windows API function CoInitializeEx (by way of
WASAPI.CoInitializeEx(long, int) ) with arguments suitable to the
operation of WASAPIRenderer, WASAPIStream and
WASAPISystem. |
long |
WASAPISystem.getIMMDevice(java.lang.String id)
Gets an audio endpoint device that is identified by a specific endpoint
ID string.
|
int |
WASAPISystem.getIMMDeviceDataFlow(long iMMDevice)
Gets the data flow of a specific IMMDevice in the form of an
EDataFlow value.
|
int |
WASAPISystem.getIMMDeviceIndex(java.lang.String id,
int dataFlow)
Gets the zero-based index within the IMMDeviceCollection
interface of an audio endpoint device specified by an endpoint ID string.
|
long |
WASAPISystem.initializeIAudioClient(javax.media.MediaLocator locator,
AudioSystem.DataFlow dataFlow,
int streamFlags,
long eventHandle,
long hnsBufferDuration,
javax.media.format.AudioFormat[] formats)
Initializes a new IAudioClient instance for an audio endpoint
device identified by a specific MediaLocator.
|
Modifier and Type | Method and Description |
---|---|
(package private) static void |
WASAPIStream.throwNewIOException(java.lang.String message,
HResultException hre)
Throws a new IOException instance initialized with a specific
String message and a specific HResultException cause.
|
Modifier and Type | Method and Description |
---|---|
static void |
WASAPI.CloseHandle(long hObject) |
static java.lang.String |
WASAPI.CoCreateGuid() |
static long |
WASAPI.CoCreateInstance(java.lang.String clsid,
long pUnkOuter,
int dwClsContext,
java.lang.String iid) |
static int |
WASAPI.CoInitializeEx(long pvReserved,
int dwCoInit) |
static long |
WASAPI.CreateEvent(long lpEventAttributes,
boolean bManualReset,
boolean bInitialState,
java.lang.String lpName) |
static int |
VoiceCaptureDSP.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 int |
VoiceCaptureDSP.DMO_MEDIA_TYPE_setFormattype(long thiz,
java.lang.String formattype) |
static int |
WASAPI.IAudioCaptureClient_GetNextPacketSize(long thiz) |
static int |
WASAPI.IAudioCaptureClient_Read(long thiz,
byte[] data,
int offset,
int length,
int srcSampleSize,
int srcChannels,
int dstSampleSize,
int dstChannels) |
static int |
WASAPI.IAudioClient_GetBufferSize(long thiz) |
static int |
WASAPI.IAudioClient_GetCurrentPadding(long thiz) |
static long |
WASAPI.IAudioClient_GetDefaultDevicePeriod(long thiz) |
static long |
WASAPI.IAudioClient_GetMinimumDevicePeriod(long thiz) |
static long |
WASAPI.IAudioClient_GetService(long thiz,
java.lang.String iid) |
static int |
WASAPI.IAudioClient_Initialize(long thiz,
int shareMode,
int streamFlags,
long hnsBufferDuration,
long hnsPeriodicity,
long pFormat,
java.lang.String audioSessionGuid) |
static long |
WASAPI.IAudioClient_IsFormatSupported(long thiz,
int shareMode,
long pFormat) |
static void |
WASAPI.IAudioClient_SetEventHandle(long thiz,
long eventHandle) |
static int |
WASAPI.IAudioClient_Start(long thiz) |
static int |
WASAPI.IAudioClient_Stop(long thiz) |
static int |
WASAPI.IAudioRenderClient_Write(long thiz,
byte[] data,
int offset,
int length,
int srcSampleSize,
int srcChannels,
int dstSampleSize,
int dstChannels)
Writes specific audio data into the rendering endpoint buffer of a
specific IAudioRenderClient.
|
static long |
VoiceCaptureDSP.IMediaBuffer_GetBuffer(long thiz) |
static int |
VoiceCaptureDSP.IMediaBuffer_GetLength(long thiz) |
static int |
VoiceCaptureDSP.IMediaBuffer_GetMaxLength(long thiz) |
static void |
VoiceCaptureDSP.IMediaBuffer_SetLength(long thiz,
int cbLength) |
static int |
VoiceCaptureDSP.IMediaObject_Flush(long thiz) |
static int |
VoiceCaptureDSP.IMediaObject_GetInputStatus(long thiz,
int dwInputStreamIndex) |
static int |
VoiceCaptureDSP.IMediaObject_ProcessInput(long thiz,
int dwInputStreamIndex,
long pBuffer,
int dwFlags,
long rtTimestamp,
long rtTimelength) |
static int |
VoiceCaptureDSP.IMediaObject_ProcessOutput(long thiz,
int dwFlags,
int cOutputBufferCount,
long pOutputBuffers) |
static long |
VoiceCaptureDSP.IMediaObject_QueryInterface(long thiz,
java.lang.String iid) |
static int |
VoiceCaptureDSP.IMediaObject_SetInputType(long thiz,
int dwInputStreamIndex,
long pmt,
int dwFlags) |
static int |
VoiceCaptureDSP.IMediaObject_SetOutputType(long thiz,
int dwOutputStreamIndex,
long pmt,
int dwFlags) |
static long |
WASAPI.IMMDevice_Activate(long thiz,
java.lang.String iid,
int dwClsCtx,
long pActivationParams) |
static java.lang.String |
WASAPI.IMMDevice_GetId(long thiz) |
static int |
WASAPI.IMMDevice_GetState(long thiz) |
static long |
WASAPI.IMMDevice_OpenPropertyStore(long thiz,
int stgmAccess) |
static long |
WASAPI.IMMDevice_QueryInterface(long thiz,
java.lang.String iid) |
static int |
WASAPI.IMMDeviceCollection_GetCount(long thiz) |
static long |
WASAPI.IMMDeviceCollection_Item(long thiz,
int nDevice) |
static long |
WASAPI.IMMDeviceEnumerator_EnumAudioEndpoints(long thiz,
int dataFlow,
int dwStateMask) |
static long |
WASAPI.IMMDeviceEnumerator_GetDevice(long thiz,
java.lang.String pwstrId) |
static int |
WASAPI.IMMEndpoint_GetDataFlow(long thiz) |
static java.lang.String |
WASAPI.IPropertyStore_GetString(long thiz,
long key) |
static int |
VoiceCaptureDSP.IPropertyStore_SetValue(long thiz,
long key,
boolean value) |
static int |
VoiceCaptureDSP.IPropertyStore_SetValue(long thiz,
long key,
int value) |
static int |
VoiceCaptureDSP.MediaBuffer_pop(long thiz,
byte[] buffer,
int offset,
int length) |
static int |
VoiceCaptureDSP.MediaBuffer_push(long thiz,
byte[] buffer,
int offset,
int length) |
static long |
VoiceCaptureDSP.MoCreateMediaType(int cbFormat) |
static void |
VoiceCaptureDSP.MoDeleteMediaType(long pmt) |
static void |
VoiceCaptureDSP.MoFreeMediaType(long pmt) |
static void |
VoiceCaptureDSP.MoInitMediaType(long pmt,
int cbFormat) |
static long |
WASAPI.PSPropertyKeyFromString(java.lang.String pszString) |
static void |
WASAPI.ResetEvent(long hEvent) |
static int |
WASAPI.WaitForSingleObject(long hHandle,
long dwMilliseconds)
Waits until the specified object is in the signaled state or the
specified time-out interval elapses.
|
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.