mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
More fixes for 100% CPU hang with dmix
More fixes for 100% CPU hang-up problem with dmix. - Clear timer queues properly when XRUN happens. - Don't check XRUN when the stream isn't really running. - Do hwsync properly for the delayed start state.
This commit is contained in:
parent
e5b91844bf
commit
aa89f27de4
3 changed files with 43 additions and 17 deletions
|
|
@ -144,6 +144,7 @@ int snd_pcm_direct_sw_params(snd_pcm_t *pcm, snd_pcm_sw_params_t * params);
|
|||
int snd_pcm_direct_channel_info(snd_pcm_t *pcm, snd_pcm_channel_info_t * info);
|
||||
int snd_pcm_direct_mmap(snd_pcm_t *pcm);
|
||||
int snd_pcm_direct_munmap(snd_pcm_t *pcm);
|
||||
int snd_pcm_direct_timer_stop(snd_pcm_direct_t *dmix);
|
||||
|
||||
int snd_timer_async(snd_timer_t *timer, int sig, pid_t pid);
|
||||
struct timespec snd_pcm_hw_fast_tstamp(snd_pcm_t *pcm);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue