mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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:
parent
55c5024e9c
commit
f7fdb354ff
1 changed files with 5 additions and 0 deletions
|
|
@ -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 ;
|
||||
|
|
|
|||
Loading…
Reference in a new issue