OAL patches by Ciardhubh

This commit is contained in:
Brian Matzon 2010-07-14 13:12:24 +00:00
parent be84d03799
commit 6d72727f0a
4 changed files with 23 additions and 20 deletions

View file

@ -59,6 +59,9 @@ public final class ALC11 {
public static final int ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER = 0x311;
public static final int ALC_CAPTURE_SAMPLES = 0x312;
public static final int ALC_MONO_SOURCES = 0x1010;
public static final int ALC_STEREO_SOURCES = 0x1011;
/**
* The alcCaptureOpenDevice function allows the application to connect to a capture
* device. To obtain a list of all available capture devices, use getCaptureDevices a list of all

View file

@ -191,7 +191,7 @@ public class OpenALInfo {
effects.put("Compressor", new Integer(EFX10.AL_EFFECT_COMPRESSOR));
effects.put("Equalizer", new Integer(EFX10.AL_EFFECT_EQUALIZER));
entries = filters.entrySet();
entries = effects.entrySet();
for(Iterator i = entries.iterator(); i.hasNext();) {
Map.Entry entry = (Entry) i.next();
int value = ((Integer)entry.getValue()).intValue();