Searched refs:SIO_REC (Results 1 – 10 of 10) sorted by relevance
50 if ((mode & (SIO_PLAY | SIO_REC)) == 0) in sio_open()57 if ((mode & SIO_REC) == 0) in sio_open()59 if (mode == (SIO_PLAY | SIO_REC) || str == NULL) in sio_open()321 if (!hdl->started || !(hdl->mode & SIO_REC)) { in sio_read()432 if ((hdl->mode & SIO_REC) && !sio_rdrop(hdl)) in sio_revents()466 rbpf = (hdl->mode & SIO_REC) ? hdl->par.bps * hdl->par.rchan : 1; in _sio_printpos()471 rpos = (hdl->mode & SIO_REC) ? in _sio_printpos()505 if (hdl->mode & SIO_REC) in _sio_onmove_cb()
120 if (rchan && (hdl->sio.mode & SIO_REC)) in sio_sun_testpar()211 if (hdl->sio.mode & SIO_REC) { in sio_sun_getcap()298 if (mode == (SIO_PLAY | SIO_REC)) in sio_sun_getfd()430 if (hdl->sio.mode & SIO_REC) in sio_sun_setpar()566 if (!(hdl->sio.mode & SIO_REC)) { in sio_sun_revents()573 if (hdl->sio.mode & SIO_REC) { in sio_sun_revents()
295 if (hdl->sio.mode & SIO_REC) in sio_aucat_setpar()335 if (hdl->sio.mode & SIO_REC) in sio_aucat_getpar()
98 unsigned int rate, mode = d->reqmode & (SIO_PLAY | SIO_REC); in dev_sio_open()102 if (mode != (SIO_PLAY | SIO_REC)) in dev_sio_open()108 d->sio.hdl = fdpass_sio_open(d->num, SIO_REC); in dev_sio_open()110 mode = SIO_REC; in dev_sio_open()138 if (d->mode & SIO_REC) in dev_sio_open()163 if (mode & SIO_REC) in dev_sio_open()204 if ((d->mode & SIO_REC) && par.rchan > NCHAN_MAX) { in dev_sio_open()241 if (d->mode & SIO_REC) in dev_sio_open()
326 if (d == NULL || !(mode & (SIO_PLAY | SIO_REC))) { in fdpass_in_helper()
357 if (s->mode & SIO_REC) { in slot_init()442 if (s->mode & SIO_REC) in slot_stop()709 if (s->mode == SIO_REC) { in dev_open()722 if (mode & SIO_REC) in dev_open()743 if (mode & SIO_REC) { in dev_open()752 if (mode & SIO_REC) { in dev_open()769 if (dev_mode & SIO_REC) { in dev_open()790 if (dev_mode & SIO_REC) in dev_close()1157 if (dev_mode & SIO_REC) { in playrec_cycle()1254 if (mode & SIO_REC) in playrec()[all …]
65 unsigned mode = SIO_PLAY | SIO_REC; in main()71 mode &= ~SIO_REC; in main()
91 hdl = sio_open(SIO_DEVANY, SIO_REC, 0); in main()
134 #define SIO_REC 2 macro
268 mode |= SIO_REC; in main()