mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Propagate pcm->info
Propate pcm->info bit flags from the slave PCM in refine. This will fix the bug indicating bogus pause/resume capabilities.
This commit is contained in:
parent
8c09d72743
commit
3092edabf2
1 changed files with 1 additions and 0 deletions
|
|
@ -2113,6 +2113,7 @@ int _snd_pcm_hw_params_refine(snd_pcm_hw_params_t *params,
|
||||||
if (changed < 0)
|
if (changed < 0)
|
||||||
err = changed;
|
err = changed;
|
||||||
}
|
}
|
||||||
|
params->info &= src->info;
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue