mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
removed invalid assert().
there are reserved fields for the extended masks which are not used, and this caused wrong assert()...
This commit is contained in:
parent
96c652f771
commit
b4b00dd7cf
1 changed files with 1 additions and 1 deletions
|
|
@ -1048,7 +1048,7 @@ int _snd_pcm_hw_param_refine(snd_pcm_hw_params_t *params,
|
|||
const snd_interval_t *s = hw_param_interval_c(src, var);
|
||||
changed = snd_interval_refine(d, s);
|
||||
} else
|
||||
assert(0);
|
||||
return 0; /* NOP / reserved */
|
||||
if (changed) {
|
||||
params->cmask |= 1 << var;
|
||||
params->rmask |= 1 << var;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue