aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/sound
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/sound')
-rw-r--r--src/jake2/sound/S.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/jake2/sound/S.java b/src/jake2/sound/S.java
index 64d6957..af65dbe 100644
--- a/src/jake2/sound/S.java
+++ b/src/jake2/sound/S.java
@@ -2,7 +2,7 @@
* S.java
* Copyright (C) 2003
*
- * $Id: S.java,v 1.5 2004-12-16 21:11:56 cawe Exp $
+ * $Id: S.java,v 1.6 2005-01-11 14:25:10 hzi Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -205,4 +205,12 @@ public class S {
public static String getDriverName() {
return impl.getName();
}
+
+ public static String[] getDriverNames() {
+ String[] names = new String[drivers.size()];
+ for (int i = 0; i < names.length; i++) {
+ names[i] = ((Sound)drivers.get(i)).getName();
+ }
+ return names;
+ }
} \ No newline at end of file