|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lwjgl.openal.ALC11
public final class ALC11
The ALC11 class implements features in OpenAL 1.1, specifically ALC methods and properties.
ALC10
Field Summary | |
---|---|
static int |
ALC_ALL_DEVICES_SPECIFIER
|
static int |
ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER
|
static int |
ALC_CAPTURE_DEVICE_SPECIFIER
|
static int |
ALC_CAPTURE_SAMPLES
|
static int |
ALC_DEFAULT_ALL_DEVICES_SPECIFIER
|
static int |
ALC_MONO_SOURCES
|
static int |
ALC_STEREO_SOURCES
|
Constructor Summary | |
---|---|
ALC11()
|
Method Summary | |
---|---|
static boolean |
alcCaptureCloseDevice(ALCdevice device)
The alcCaptureCloseDevice function allows the application to disconnect from a capture device. |
static ALCdevice |
alcCaptureOpenDevice(java.lang.String devicename,
int frequency,
int format,
int buffersize)
The alcCaptureOpenDevice function allows the application to connect to a capture device. |
static void |
alcCaptureSamples(ALCdevice device,
java.nio.ByteBuffer buffer,
int samples)
When the application feels there are enough samples available to process, it can obtain them from the AL via the alcCaptureSamples entry point. |
static void |
alcCaptureStart(ALCdevice device)
Once a capture device has been opened via alcCaptureOpenDevice, it is made to start recording audio via the alcCaptureStart entry point: Once started, the device will record audio to an internal ring buffer, the size of which was specified when opening the device. |
static void |
alcCaptureStop(ALCdevice device)
If the application doesn't need to capture more audio for an amount of time, they can halt the device without closing it via the alcCaptureStop entry point. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ALC_DEFAULT_ALL_DEVICES_SPECIFIER
public static final int ALC_ALL_DEVICES_SPECIFIER
public static final int ALC_CAPTURE_DEVICE_SPECIFIER
public static final int ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER
public static final int ALC_CAPTURE_SAMPLES
public static final int ALC_MONO_SOURCES
public static final int ALC_STEREO_SOURCES
Constructor Detail |
---|
public ALC11()
Method Detail |
---|
public static ALCdevice alcCaptureOpenDevice(java.lang.String devicename, int frequency, int format, int buffersize)
devicename
- Name of device to open for capturefrequency
- Frequency of samples to captureformat
- Format of samples to capturebuffersize
- Size of buffer to capture to
public static boolean alcCaptureCloseDevice(ALCdevice device)
public static void alcCaptureStart(ALCdevice device)
public static void alcCaptureStop(ALCdevice device)
public static void alcCaptureSamples(ALCdevice device, java.nio.ByteBuffer buffer, int samples)
buffer
- Buffer to store samples insamples
- Number of samples to request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |