summaryrefslogtreecommitdiff
path: root/src/seq
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-02-14 13:31:53 +0000
committerTakashi Iwai <tiwai@suse.de>2005-02-14 13:31:53 +0000
commit4ea51d8201e29a93dd714967f1f14aa1b6f8a28e (patch)
tree62faf38812887403bce8fa1fdc8d71b62ccb9c49 /src/seq
parent49c9eba8e4cdfa4ca40e8271e25dfb666c130cd5 (diff)
Add --disable-aload configure option
Added --disable-aload configure option to suppress probing of /dev/aload* files for auto-loading. These files often conflict with udev mechanism. Also, --with-resmgr is changed to --enable-resmgr.
Diffstat (limited to 'src/seq')
-rw-r--r--src/seq/seq_hw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/seq/seq_hw.c b/src/seq/seq_hw.c
index 7c2c4812..eadec550 100644
--- a/src/seq/seq_hw.c
+++ b/src/seq/seq_hw.c
@@ -441,6 +441,7 @@ int snd_seq_hw_open(snd_seq_t **handle, const char *name, int streams, int mode)
filename = SNDRV_FILE_SEQ;
fd = snd_open_device(filename, fmode);
+#ifdef SUPPORT_ALOAD
if (fd < 0) {
fd = snd_open_device(SNDRV_FILE_ALOADSEQ, fmode);
if (fd >= 0)
@@ -451,6 +452,7 @@ int snd_seq_hw_open(snd_seq_t **handle, const char *name, int streams, int mode)
return -errno;
}
}
+#endif
#if 0
/*
* this is bogus, an application have to care about open filedescriptors