pcm: add SND_PCM_EINTR open mode
Add possibility to return -EINTR instead waiting for the event. The
applications may want to handle -EINTR condition themselves.
BugLink: https://github.com/alsa-project/alsa-lib/issues/228
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela
11 months ago
392 | 392 | #define SND_PCM_NONBLOCK 0x00000001 |
393 | 393 | /** Async notification (flag for open mode) \hideinitializer */ |
394 | 394 | #define SND_PCM_ASYNC 0x00000002 |
395 | /** Return EINTR instead blocking (wait operation) */ | |
396 | #define SND_PCM_EINTR 0x00000080 | |
395 | 397 | /** In an abort state (internal, not allowed for open) */ |
396 | 398 | #define SND_PCM_ABORT 0x00008000 |
397 | 399 | /** Disable automatic (but not forced!) rate resamplinig */ |