mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Added early event extension to the timer API - and a fix for the direct plugins
This commit is contained in:
parent
dff4d5c466
commit
64a39728a2
5 changed files with 46 additions and 6 deletions
|
|
@ -846,6 +846,7 @@ int snd_pcm_direct_initialize_poll_fd(snd_pcm_direct_t *dmix)
|
|||
return ret;
|
||||
}
|
||||
snd_timer_params_set_auto_start(params, 1);
|
||||
snd_timer_params_set_early_event(params, 1);
|
||||
snd_timer_params_set_ticks(params, 1);
|
||||
ret = snd_timer_params(dmix->timer, params);
|
||||
if (ret < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue