patch-2.1.41 linux/drivers/sound/opl3.c

Next file: linux/drivers/sound/os.h
Previous file: linux/drivers/sound/mpu401.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.40/linux/drivers/sound/opl3.c linux/drivers/sound/opl3.c
@@ -112,6 +112,7 @@
 	struct sbi_instrument ins;
 
 	memcpy ((char *) &ins, (&((char *) arg)[0]), sizeof (ins));
+	printk("Warning: Obsolete ioctl(SNDCTL_FM_LOAD_INSTR) used. Fix the program.\n");
 
 	if (ins.channel < 0 || ins.channel >= SBFM_MAXINSTR)
 	  {
@@ -1168,6 +1169,7 @@
   opl3_operations.info = &devc->fm_info;
 
   synth_devs[num_synths++] = &opl3_operations;
+  sequencer_init ();
   devc->v_alloc = &opl3_operations.alloc;
   devc->chn_info = &opl3_operations.chn_info[0];
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov