Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2003:
[Freeciv-Dev] (PR#4233) winmm.c fix
Home

[Freeciv-Dev] (PR#4233) winmm.c fix

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#4233) winmm.c fix
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Tue, 13 May 2003 07:23:10 -0700
Reply-to: rt@xxxxxxxxxxxxxx

This makes the WinMM audio code work. I wonder how it ever worked
before...

  - Per

--- client/audio_winmm.c        Tue May 13 16:16:52 2003
+++ ../freeciv-old/client/audio_winmm.c Thu Jul 11 15:57:56 2002
@@ -57,14 +57,6 @@
 }

 

 /**************************************************************************

-  Initialize

-**************************************************************************/

-static bool my_init(void)

-{

-  return TRUE;

-}

-

-/**************************************************************************

   Initialize. Note that this function is called very early at the

   client startup. So for example logging isn't available.

 **************************************************************************/

@@ -75,7 +67,6 @@
   sz_strlcpy(self.name, "winmm");

   sz_strlcpy(self.descr, "WinMM plugin");

   self.shutdown = my_stop;

-  self.init = my_init;

   self.stop = my_stop;

   self.wait = my_wait;

   self.play = my_play;


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#4233) winmm.c fix, Per I. Mathisen <=