r663 - trunk

spike at icculus.org spike at icculus.org
Tue Mar 7 21:19:29 EST 2006


Author: spike
Date: 2006-03-07 21:19:29 -0500 (Tue, 07 Mar 2006)
New Revision: 663

Modified:
   trunk/system.c
Log:
make sure the driver is switched off before the mixer dies (SDL runs in a seperate thread) (yes, this did just crash on me for this reason).

Modified: trunk/system.c
===================================================================
--- trunk/system.c	2006-03-06 23:01:25 UTC (rev 662)
+++ trunk/system.c	2006-03-08 02:19:29 UTC (rev 663)
@@ -183,6 +183,7 @@
 
 static void Audio_Quit(void)
 {
+	Audio_SetMode(0, 0);	//shut down the driver
 	lhsoundShutdown();
 }
 




More information about the neither-commits mailing list