mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-06 13:29:59 -05:00
pcm: pass hw_params flags to slave
Fix required before interrupt disabling routines patch can be applied. Without this fix, the interrupts are only disabled when directly accessing hw devices. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com> Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
This commit is contained in:
parent
ab6df22901
commit
70dded6aba
1 changed files with 1 additions and 0 deletions
|
|
@ -2126,6 +2126,7 @@ int _snd_pcm_hw_params_refine(snd_pcm_hw_params_t *params,
|
|||
err = changed;
|
||||
}
|
||||
params->info &= src->info;
|
||||
params->flags = src->flags; /* propagate all flags to slave */
|
||||
return err;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue