patch-2.3.48 linux/drivers/sound/sequencer.c
Next file: linux/drivers/sound/sequencer_syms.c
Previous file: linux/drivers/sound/sb_mixer.h
Back to the patch index
Back to the overall index
- Lines: 43
- Date:
Thu Feb 24 22:12:57 2000
- Orig file:
v2.3.47/linux/drivers/sound/sequencer.c
- Orig date:
Tue May 11 23:40:50 1999
diff -u --recursive --new-file v2.3.47/linux/drivers/sound/sequencer.c linux/drivers/sound/sequencer.c
@@ -15,15 +15,12 @@
* Alan Cox : reformatted and fixed a pair of null pointer bugs
*/
#include <linux/config.h>
-
#include <linux/kmod.h>
-
#define SEQUENCER_C
#include "sound_config.h"
-
-#ifdef CONFIG_SEQUENCER
#include "softoss.h"
+
int (*softsynthp) (int cmd, int parm1, int parm2, unsigned long parm3) = NULL;
#include "midi_ctrl.h"
@@ -719,9 +716,7 @@
switch (cmd)
{
case LOCL_STARTAUDIO:
-#ifdef CONFIG_AUDIO
DMAbuf_start_devices(parm);
-#endif
break;
default:
@@ -1692,9 +1687,7 @@
if (sequencer_ok)
return;
-#ifdef CONFIG_MIDI
MIDIbuf_init();
-#endif
queue = (unsigned char *)vmalloc(SEQ_MAX_QUEUE * EV_SZ);
if (queue == NULL)
{
@@ -1724,5 +1717,3 @@
iqueue=NULL;
}
}
-
-#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)