mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
Fix more CPU hang-up bugs in dmix
- Fix CPU hang-up during snd_pcm_drain() A new internal function snd_pcm_wait_nocheck() to force to call poll(). - Clean up, fix status() callback of dmix
This commit is contained in:
parent
c915659538
commit
72ad0e9ae7
5 changed files with 102 additions and 76 deletions
|
|
@ -744,6 +744,8 @@ int snd_pcm_conf_generic_id(const char *id);
|
|||
|
||||
int snd_pcm_hw_open_fd(snd_pcm_t **pcmp, const char *name, int fd, int mmap_emulation, int sync_ptr_ioctl);
|
||||
|
||||
int snd_pcm_wait_nocheck(snd_pcm_t *pcm, int timeout);
|
||||
|
||||
#define SND_PCM_HW_PARBIT_ACCESS (1U << SND_PCM_HW_PARAM_ACCESS)
|
||||
#define SND_PCM_HW_PARBIT_FORMAT (1U << SND_PCM_HW_PARAM_FORMAT)
|
||||
#define SND_PCM_HW_PARBIT_SUBFORMAT (1U << SND_PCM_HW_PARAM_SUBFORMAT)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue