aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java')
-rw-r--r--src/java/net/java/games/joal/util/ALut.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/net/java/games/joal/util/ALut.java b/src/java/net/java/games/joal/util/ALut.java
index 52261e1..7f0772f 100644
--- a/src/java/net/java/games/joal/util/ALut.java
+++ b/src/java/net/java/games/joal/util/ALut.java
@@ -58,17 +58,20 @@ public final class ALut {
ALFactory.initialize();
alc = ALFactory.getALC();
String deviceName = null;
+ /*
String os = System.getProperty("os.name");
if (os.startsWith("Windows")) {
deviceName = "DirectSound3D";
}
if (deviceName != null) {
+ */
ALC.Context context;
ALC.Device device;
device = alc.alcOpenDevice(deviceName);
context = alc.alcCreateContext(device, null);
alc.alcMakeContextCurrent(context);
+ /*
} else {
System.out.println(
"alutInit does not currently support "
@@ -78,6 +81,7 @@ public final class ALut {
+ "using the ALC functions for the time being. We apologize "
+ "for the inconvenience.");
}
+ */
}
public static void alutLoadWAVFile(