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

Diff for /src/usr.bin/aucat/Attic/sock.c between version 1.51 and 1.52

version 1.51, 2010/10/21 18:57:42 version 1.52, 2010/10/21 19:10:52
Line 492 
Line 492 
         }          }
 #endif  #endif
         (void)sock_attach(f, 0);          (void)sock_attach(f, 0);
 }/*  }
   
   /*
  * Callback invoked by MMC stop   * Callback invoked by MMC stop
  */   */
 void  void
Line 1214 
Line 1216 
 #endif  #endif
                         aproc_del(f->pipe.file.rproc);                          aproc_del(f->pipe.file.rproc);
                         return 0;                          return 0;
                   }
                 /*                  /*
                  * XXX: device could have desappeared at this point,                   * XXX: device could have desappeared at this point,
                  * see how this is fixed in wav.c                   * see how this is fixed in wav.c
                  */                   */
                 }  
                 if ((f->pstate == SOCK_START || f->pstate == SOCK_READY) &&                  if ((f->pstate == SOCK_START || f->pstate == SOCK_READY) &&
                     ctl_slotstart(f->dev->midi, f->slot))                      ctl_slotstart(f->dev->midi, f->slot))
                         (void)sock_attach(f, 1);                          (void)sock_attach(f, 1);
Line 1605 
Line 1607 
                 }                  }
                 /*                  /*
                  * XXX: sock_attach() may not start if there's not enough                   * XXX: sock_attach() may not start if there's not enough
                  *      samples queues, if so ctl_slotstart() will trigger                   *      samples queued, if so ctl_slotstart() will trigger
                  *      other streams, but this one won't start.                   *      other streams, but this one won't start.
                  */                   */
                 if (f->pstate == SOCK_READY && ctl_slotstart(f->dev->midi, f->slot))                  if (f->pstate == SOCK_READY && ctl_slotstart(f->dev->midi, f->slot))

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52