patch-2.3.99-pre4 linux/drivers/sound/sb_mixer.c
Next file: linux/drivers/sound/sound_calls.h
Previous file: linux/drivers/sound/sb_ess.c
Back to the patch index
Back to the overall index
-  Lines: 13
-  Date:
Mon Mar 27 11:02:55 2000
-  Orig file: 
v2.3.99-pre3/linux/drivers/sound/sb_mixer.c
-  Orig date: 
Mon Mar 27 08:08:28 2000
diff -u --recursive --new-file v2.3.99-pre3/linux/drivers/sound/sb_mixer.c linux/drivers/sound/sb_mixer.c
@@ -642,11 +642,10 @@
 {
 	char name[32];
 	int i;
-	extern int sm_games;
 
 	sprintf(name, "SB_%d", devc->sbmixnum);
 
-	if (sm_games)
+	if (devc->sbmo.sm_games)
 		devc->levels = load_mixer_volumes(name, smg_default_levels, 1);
 	else
 		devc->levels = load_mixer_volumes(name, sb_default_levels, 1);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)