| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALC_ALL_DEVICES_SPECIFIER
String queries. |
| public static final int | ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER
String queries. |
| public static final int | ALC_CAPTURE_DEVICE_SPECIFIER
String queries. |
| public static final int | ALC_CAPTURE_SAMPLES
Integer queries. |
| public static final int | ALC_DEFAULT_ALL_DEVICES_SPECIFIER
String queries. |
| public static final int | ALC_MONO_SOURCES
Context creation attributes. |
| public static final int | ALC_STEREO_SOURCES
Context creation attributes. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | alcCaptureCloseDevice(long
the capture device to close device)Allows the application to disconnect from a capture device. |
| public static long | alcCaptureOpenDevice(ByteBuffer
the device or device configuration deviceName, int the audio frequency frequency, int the audio format format, int the number of sample frames to buffer in the AL samples)Allows the application to connect to a capture device. |
| public static long | alcCaptureOpenDevice(CharSequence
the device or device configuration deviceName, int the audio frequency frequency, int the audio format format, int the number of sample frames to buffer in the AL samples)Allows the application to connect to a capture device. |
| public static void | alcCaptureSamples(long
the capture device device, ByteBuffer the buffer that will receive the samples. It must be big enough to contain at least buffer, int samples sample frames.the number of sample frames to obtain samples)Obtains captured audio samples from the AL. |
| public static void | alcCaptureSamples(long
the capture device device, ShortBuffer the buffer that will receive the samples. It must be big enough to contain at least buffer, int samples sample frames.the number of sample frames to obtain samples)Obtains captured audio samples from the AL. |
| public static void | alcCaptureSamples(long
the capture device device, IntBuffer the buffer that will receive the samples. It must be big enough to contain at least buffer, int samples sample frames.the number of sample frames to obtain samples)Obtains captured audio samples from the AL. |
| public static void | alcCaptureSamples(long
the capture device device, FloatBuffer the buffer that will receive the samples. It must be big enough to contain at least buffer, int samples sample frames.the number of sample frames to obtain samples)Obtains captured audio samples from the AL. |
| public static void | |
| public static void | |
| public static void | |
| public static void | alcCaptureStart(long
the capture device device)Starts recording audio on the specific capture device. |
| public static void | alcCaptureStop(long
the capture device device)Halts audio capturing without closing the capture device. |
| public static long | nalcCaptureOpenDevice(long deviceName, int frequency, int format, int samples)
Unsafe version of: |
| public static void |
| ALC_ALL_DEVICES_SPECIFIER | back to summary |
|---|---|
| public static final int ALC_ALL_DEVICES_SPECIFIER String queries. | |
| ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER | back to summary |
|---|---|
| public static final int ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER String queries. | |
| ALC_CAPTURE_DEVICE_SPECIFIER | back to summary |
|---|---|
| public static final int ALC_CAPTURE_DEVICE_SPECIFIER String queries. | |
| ALC_CAPTURE_SAMPLES | back to summary |
|---|---|
| public static final int ALC_CAPTURE_SAMPLES Integer queries. | |
| ALC_DEFAULT_ALL_DEVICES_SPECIFIER | back to summary |
|---|---|
| public static final int ALC_DEFAULT_ALL_DEVICES_SPECIFIER String queries. | |
| ALC_MONO_SOURCES | back to summary |
|---|---|
| public static final int ALC_MONO_SOURCES Context creation attributes. | |
| ALC_STEREO_SOURCES | back to summary |
|---|---|
| public static final int ALC_STEREO_SOURCES Context creation attributes. | |
| ALC11 | back to summary |
|---|---|
| protected ALC11() | |
| alcCaptureCloseDevice | back to summary |
|---|---|
| public static boolean alcCaptureCloseDevice(long device) Allows the application to disconnect from a capture device.
| |
| alcCaptureOpenDevice | back to summary |
|---|---|
| public static long alcCaptureOpenDevice(ByteBuffer deviceName, int frequency, int format, int samples) Allows the application to connect to a capture device. The
| |
| alcCaptureOpenDevice | back to summary |
|---|---|
| public static long alcCaptureOpenDevice(CharSequence deviceName, int frequency, int format, int samples) Allows the application to connect to a capture device. The
| |
| alcCaptureSamples | back to summary |
|---|---|
| public static void alcCaptureSamples(long device, ByteBuffer buffer, int samples) Obtains captured audio samples from the AL. The implementation may defer conversion and resampling until this point. Requesting more sample frames than are currently available is an error.
| |
| alcCaptureSamples | back to summary |
|---|---|
| public static void alcCaptureSamples(long device, ShortBuffer buffer, int samples) Obtains captured audio samples from the AL. The implementation may defer conversion and resampling until this point. Requesting more sample frames than are currently available is an error.
| |
| alcCaptureSamples | back to summary |
|---|---|
| public static void alcCaptureSamples(long device, IntBuffer buffer, int samples) Obtains captured audio samples from the AL. The implementation may defer conversion and resampling until this point. Requesting more sample frames than are currently available is an error.
| |
| alcCaptureSamples | back to summary |
|---|---|
| public static void alcCaptureSamples(long device, FloatBuffer buffer, int samples) Obtains captured audio samples from the AL. The implementation may defer conversion and resampling until this point. Requesting more sample frames than are currently available is an error.
| |
| alcCaptureSamples | back to summary |
|---|---|
| public static void alcCaptureSamples(long device, short[] buffer, int samples) Array version of:
| |
| alcCaptureSamples | back to summary |
|---|---|
| public static void alcCaptureSamples(long device, int[] buffer, int samples) Array version of:
| |
| alcCaptureSamples | back to summary |
|---|---|
| public static void alcCaptureSamples(long device, float[] buffer, int samples) Array version of:
| |
| alcCaptureStart | back to summary |
|---|---|
| public static void alcCaptureStart(long device) Starts recording audio on the specific capture device. Once started, the device will record audio to an internal ring buffer, the size of which was specified when opening the device. The application may query the capture device to discover how much data is currently available via the alcGetInteger with the ALC_CAPTURE_SAMPLES token. This will report the number of sample frames currently available.
| |
| alcCaptureStop | back to summary |
|---|---|
| public static void alcCaptureStop(long device) Halts audio capturing without closing the capture device. The implementation is encouraged to optimize for this case. The amount of audio samples available after restarting a stopped capture device is reset to zero. The application does not need to stop the capture device to read from it.
| |
| nalcCaptureOpenDevice | back to summary |
|---|---|
| public static long nalcCaptureOpenDevice(long deviceName, int frequency, int format, int samples) Unsafe version of: | |
| nalcCaptureSamples | back to summary |
|---|---|
| public static void nalcCaptureSamples(long device, long buffer, int samples) Unsafe version of: | |