Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#9940) make sdl default plugin
Home

[Freeciv-Dev] (PR#9940) make sdl default plugin

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#9940) make sdl default plugin
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Sat, 4 Sep 2004 14:46:33 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9940 >

This patch makes SDL the default sound plugin. Esound is just too sucky to
remain the default any longer.

I am considering dropping any sound plugin that does not or cannot support
Ogg Vorbis in the future.

  - Per

Index: client/audio.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/audio.c,v
retrieving revision 1.19
diff -u -r1.19 audio.c
--- client/audio.c      19 Apr 2004 17:24:16 -0000      1.19
+++ client/audio.c      4 Sep 2004 21:44:34 -0000
@@ -276,12 +276,12 @@
     return;
   }
 
-#ifdef ESD
-  if (audio_select_plugin("esd")) return; 
-#endif
 #ifdef SDL
   if (audio_select_plugin("sdl")) return; 
 #endif
+#ifdef ESD
+  if (audio_select_plugin("esd")) return; 
+#endif
 #ifdef ALSA
   if (audio_select_plugin("alsa")) return;
 #endif

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#9940) make sdl default plugin, Per I. Mathisen <=