# Uses of Class
org.lwjgl.openal.ALCdevice

Packages that use ALCdevice
Package
Description
org.lwjgl.openal

## Uses of ALCdevice in org.lwjgl.openal

Methods in org.lwjgl.openal that return ALCdevice
Modifier and Type
Method
Description
`static ALCdevice`
ALC11.`alcCaptureOpenDevice(String devicename, int frequency, int format, int buffersize)`
The alcCaptureOpenDevice function allows the application to connect to a capture device.
`static ALCdevice`
ALC10.`alcGetContextsDevice(ALCcontext context)`
The application can query for, and obtain an handle to, the device of a given context.
`static ALCdevice`
ALC10.`alcOpenDevice(String devicename)`
The `alcOpenDevice` function allows the application (i.e.
`static ALCdevice`
AL.`getDevice()`
Methods in org.lwjgl.openal with parameters of type ALCdevice
Modifier and Type
Method
Description
`static boolean`
ALC11.`alcCaptureCloseDevice(ALCdevice device)`
The alcCaptureCloseDevice function allows the application to disconnect from a capture device.
`static void`
ALC11.`alcCaptureSamples(ALCdevice device, 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`
ALC11.`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`
ALC11.`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.
`static boolean`
ALC10.`alcCloseDevice(ALCdevice device)`
The `alcCloseDevice` function allows the application (i.e.
`static ALCcontext`
ALC10.`alcCreateContext(ALCdevice device, IntBuffer attrList)`
A context is created using `alcCreateContext`.
`static int`
ALC10.`alcGetEnumValue(ALCdevice device, String enumName)`
Enumeration/token values are device independend, but tokens defined for extensions might not be present for a given device.
`static int`
ALC10.`alcGetError(ALCdevice device)`
ALC uses the same conventions and mechanisms as AL for error handling.
`static void`
ALC10.`alcGetInteger(ALCdevice device, int pname, IntBuffer integerdata)`
The application can query ALC for information using an integer query function.
`static String`
ALC10.`alcGetString(ALCdevice device, int pname)`
The application can obtain certain strings from ALC.
`static boolean`
ALC10.`alcIsExtensionPresent(ALCdevice device, String extName)`
Verify that a given extension is available for the current context and the device it is associated with.
`static void`
Util.`checkALCError(ALCdevice device)`
Checks for any ALC errors and throws an unchecked exception on errors
`static void`
Util.`checkALCValidDevice(ALCdevice device)`
Checks for a valid device