Searched refs:aucat (Results 1 - 9 of 9) sorted by relevance

/openbsd-current/lib/libsndio/
H A Daucat.h1 /* $OpenBSD: aucat.h,v 1.8 2019/07/05 22:53:47 ratchov Exp $ */
23 struct aucat { struct
37 int _aucat_rmsg(struct aucat *, int *);
38 int _aucat_wmsg(struct aucat *, int *);
39 size_t _aucat_rdata(struct aucat *, void *, size_t, int *);
40 size_t _aucat_wdata(struct aucat *, const void *, size_t, unsigned, int *);
41 int _aucat_open(struct aucat *, const char *, unsigned);
42 void _aucat_close(struct aucat *, int);
43 int _aucat_pollfd(struct aucat *, struct pollfd *, int);
44 int _aucat_revents(struct aucat *, struc
[all...]
H A Dmio_aucat.c31 #include "aucat.h"
37 struct aucat aucat; member in struct:mio_aucat_hdl
65 if (!_aucat_rmsg(&hdl->aucat, &hdl->mio.eof))
67 switch (ntohl(hdl->aucat.rmsg.cmd)) {
71 delta = ntohl(hdl->aucat.rmsg.u.ts.delta);
72 hdl->aucat.maxwrite += delta;
73 DPRINTF("aucat: flowctl = %d, maxwrite = %d\n",
74 delta, hdl->aucat.maxwrite);
78 hdl->aucat
[all...]
H A Dsio_aucat.c31 #include "aucat.h"
37 struct aucat aucat; member in struct:sio_aucat_hdl
90 if (!_aucat_rmsg(&hdl->aucat, &hdl->sio.eof))
92 switch (ntohl(hdl->aucat.rmsg.cmd)) {
94 size = ntohl(hdl->aucat.rmsg.u.data.size);
100 DPRINTFN(3, "aucat: data(%d)\n", size);
103 delta = ntohl(hdl->aucat.rmsg.u.ts.delta);
104 hdl->aucat.maxwrite += delta * (int)hdl->wbpf;
105 DPRINTFN(3, "aucat
[all...]
H A Dsioctl_aucat.c25 #include "aucat.h"
30 struct aucat aucat; member in struct:sioctl_aucat_hdl
66 while (hdl->aucat.rstate == RSTATE_DATA) {
70 hdl->aucat.rstate == RSTATE_DATA) {
71 n = _aucat_rdata(&hdl->aucat,
110 if (!_aucat_rmsg(&hdl->aucat, &hdl->sioctl.eof))
112 switch (ntohl(hdl->aucat.rmsg.cmd)) {
121 ntohs(hdl->aucat.rmsg.u.ctlset.addr),
122 ntohs(hdl->aucat
[all...]
H A DMakefile5 SRCS= debug.c aucat.c sio_aucat.c sio_sun.c sio.c \
H A Daucat.c1 /* $OpenBSD: aucat.c,v 1.79 2021/11/07 20:51:47 ratchov Exp $ */
36 #include "aucat.h"
44 _aucat_rmsg(struct aucat *hdl, int *eof)
86 _aucat_wmsg(struct aucat *hdl, int *eof)
124 _aucat_rdata(struct aucat *hdl, void *buf, size_t len, int *eof)
158 _aucat_wdata(struct aucat *hdl, const void *buf, size_t len,
307 aucat_connect_tcp(struct aucat *hdl, char *host, unsigned int unit)
355 aucat_connect_un(struct aucat *hdl, unsigned int unit)
411 _aucat_open(struct aucat *hdl, const char *str, unsigned int mode)
529 _aucat_close(struct aucat *hd
[all...]
/openbsd-current/usr.bin/aucat/
H A DMakefile3 PROG= aucat
4 SRCS= abuf.c afile.c aucat.c dsp.c utils.c
5 MAN= aucat.1
/openbsd-current/lib/libossaudio/
H A DMakefile7 SRCS= ossaudio.c aucat.c debug.c sioctl.c sioctl_aucat.c sioctl_sun.c
/openbsd-current/usr.bin/
H A DMakefile5 SUBDIR= apply arch at aucat audioctl awk banner \

Completed in 337 milliseconds