Added _snd_pcm_hw_param_setempty

This commit is contained in:
Abramo Bagnara 2001-01-19 16:19:29 +00:00
parent f12a252f20
commit d41c210493
3 changed files with 19 additions and 2 deletions

View file

@ -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;