add some preprocessor lines to prevent both controler snd0 and

device pcm0 from being loaded into the kernel at the same time.  As
this generates compilation errors, I just error out.

Requested-by: Jordan
This commit is contained in:
John-Mark Gurney 1997-09-15 06:35:13 +00:00
parent 55c5024e9c
commit f7fdb354ff

View file

@ -54,6 +54,11 @@
#if NPCM > 0 /* from "snd.h" */
#include "snd.h"
#if NSND > 0
#error Can't have both Luigi's (pcm0) and voxware (snd0) at the same time.
#endif
#define SNDSTAT_BUF_SIZE 4000
static char status_buf[SNDSTAT_BUF_SIZE] ;
static int status_len = 0 ;