version 1.51, 2010/10/21 18:57:42 |
version 1.52, 2010/10/21 19:10:52 |
|
|
} |
} |
#endif |
#endif |
(void)sock_attach(f, 0); |
(void)sock_attach(f, 0); |
}/* |
} |
|
|
|
/* |
* Callback invoked by MMC stop |
* Callback invoked by MMC stop |
*/ |
*/ |
void |
void |
|
|
#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); |
|
|
} |
} |
/* |
/* |
* 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)) |