[BACK]Return to dev.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / sndiod

Diff for /src/usr.bin/sndiod/dev.c between version 1.89 and 1.90

version 1.89, 2021/01/29 11:38:23 version 1.90, 2021/02/02 11:18:57
Line 1281 
Line 1281 
         d->slot_list = NULL;          d->slot_list = NULL;
   
         for (c = ctlslot_array, i = DEV_NCTLSLOT; i > 0; i--, c++) {          for (c = ctlslot_array, i = DEV_NCTLSLOT; i > 0; i--, c++) {
                   if (c->ops == NULL)
                           continue;
                 if (c->opt->dev != d)                  if (c->opt->dev != d)
                         continue;                          continue;
                 if (c->ops) {                  c->ops->exit(c->arg);
                         c->ops->exit(c->arg);                  c->ops = NULL;
                         c->ops = NULL;  
                 }  
         }          }
   
         midi_abort(d->midi);          midi_abort(d->midi);

Legend:
Removed from v.1.89  
changed lines
  Added in v.1.90