Change detection order to: OSS-ALSA-ARTS-JACK.

diff --git a/programs/winecfg/audio.c b/programs/winecfg/audio.c
index d89d2eb..7d9a9b7 100644
--- a/programs/winecfg/audio.c
+++ b/programs/winecfg/audio.c
@@ -96,6 +96,24 @@
   argv_new[1] = "-c";
   argv_new[3] = NULL;
 
+  /* try to detect oss */
+  fd = open("/dev/dsp", O_WRONLY | O_NONBLOCK);
+  if(fd)
+  {
+    close(fd);
+    driversFound[numFound] = "wineoss.drv";
+    name[numFound] = "OSS";
+    numFound++;
+  }
+  
+    /* try to detect alsa */
+  if(!stat("/proc/asound", &buf))
+  {
+    driversFound[numFound] = "winealsa.drv";
+    name[numFound] = "Alsa";
+    numFound++;
+  }
+
   /* try to detect arts */
   argv_new[2] = "ps awx|grep artsd|grep -v grep|grep artsd > /dev/null";
   if(!spawnvp(_P_WAIT, "/bin/sh", argv_new))
@@ -120,25 +138,6 @@
   /* try to detect audioIO (solaris) */
   /* TODO */
 
-  /* try to detect alsa */
-  if(!stat("/proc/asound", &buf))
-  {
-    driversFound[numFound] = "winealsa.drv";
-    name[numFound] = "Alsa";
-    numFound++;
-  }
-
-  /* try to detect oss */
-  fd = open("/dev/dsp", O_WRONLY | O_NONBLOCK);
-  if(fd)
-  {
-    close(fd);
-    driversFound[numFound] = "wineoss.drv";
-    name[numFound] = "OSS";
-    numFound++;
-  }
-
-
   if(numFound == 0)
   {
     MessageBox(NULL, "Could not detect any audio devices/servers", "Failed", MB_OK);