mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-07 13:30:07 -05:00
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.
This commit is contained in:
parent
49c9eba8e4
commit
4ea51d8201
3 changed files with 16 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue