mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Added _snd_pcm_hw_param_setempty
This commit is contained in:
parent
f12a252f20
commit
d41c210493
3 changed files with 19 additions and 2 deletions
|
|
@ -99,8 +99,7 @@ INLINE int interval_setinteger(interval_t *i)
|
|||
|
||||
INLINE void interval_round(interval_t *i)
|
||||
{
|
||||
assert(!interval_empty(i));
|
||||
if (i->integer)
|
||||
if (i->integer || interval_empty(i))
|
||||
return;
|
||||
i->openmin = 0;
|
||||
i->openmax = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue