diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/local.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/local.h b/include/local.h index cf7dd10e..bf53d512 100644 --- a/include/local.h +++ b/include/local.h @@ -236,6 +236,8 @@ static inline int snd_open_device(const char *filename, int fmode) int fd = open(filename, fmode); if (fd >= 0) return fd; + if (errno == EAGAIN || errno == EBUSY) + return fd; return rsm_open_device(filename, fmode); } #else |