Lines Matching full:hdl
23 struct sio_hdl *hdl; /* handle to speak to libsndio */ member
101 p->hdl = sio_open(device, mode, 0); in startany()
102 if (p->hdl == NULL) in startany()
139 if (!sio_setpar(p->hdl, &reqpar) || in startany()
140 !sio_getpar(p->hdl, &p->par)) in startany()
151 if (!sio_start(p->hdl)) in startany()
155 sio_close(p->hdl); in startany()
161 sio_close(((struct sndio_priv *)ft->priv)->hdl); in stopany()
190 n = sio_read(p->hdl, p->buf + pc, (size_t)cc); in readsamples()
191 if (n == 0 && sio_eof(p->hdl)) in readsamples()
217 n = sio_write(p->hdl, p->buf, (size_t)(sc * p->par.bps)); in writesamples()
218 if (n == 0 && sio_eof(p->hdl)) in writesamples()