Search in sources :

Example 1 with ALCCapabilities

use of org.lwjgl.openal.ALCCapabilities in project jmonkeyengine by jMonkeyEngine.

the class LwjglALC method createALC.

public void createALC() {
    device = ALC10.alcOpenDevice((ByteBuffer) null);
    ALCCapabilities deviceCaps = ALC.createCapabilities(device);
    context = ALC10.alcCreateContext(device, (IntBuffer) null);
    ALC10.alcMakeContextCurrent(context);
    AL.createCapabilities(deviceCaps);
}
Also used : ALCCapabilities(org.lwjgl.openal.ALCCapabilities) IntBuffer(java.nio.IntBuffer) ByteBuffer(java.nio.ByteBuffer)

Aggregations

ByteBuffer (java.nio.ByteBuffer)1 IntBuffer (java.nio.IntBuffer)1 ALCCapabilities (org.lwjgl.openal.ALCCapabilities)1