diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2015-12-20 11:29:30 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2015-12-20 11:29:30 +0000 |
commit | 632ffaf9f58a5970fb1cc89cb89d71e652917191 (patch) | |
tree | 5d79009660da1e9e78adc9a154c92e4fab8daa7f /include/sndio.h | |
parent | 74d38924ba4fb31ccc43568066691b842d200d76 (diff) |
Expose internal functions necessary to open audio devices and midi
ports using existing file descriptors.
Diffstat (limited to 'include/sndio.h')
-rw-r--r-- | include/sndio.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/sndio.h b/include/sndio.h index 7e161bef455..dcb9ddfbb19 100644 --- a/include/sndio.h +++ b/include/sndio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sndio.h,v 1.8 2012/08/22 08:56:46 espie Exp $ */ +/* $OpenBSD: sndio.h,v 1.9 2015/12/20 11:29:29 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -144,6 +144,11 @@ int mio_pollfd(struct mio_hdl *, struct pollfd *, int); int mio_revents(struct mio_hdl *, struct pollfd *); int mio_eof(struct mio_hdl *); +int mio_rmidi_getfd(const char *, unsigned int, int); +struct mio_hdl *mio_rmidi_fdopen(int, unsigned int, int); +int sio_sun_getfd(const char *, unsigned int, int); +struct sio_hdl *sio_sun_fdopen(int, unsigned int, int); + #ifdef __cplusplus } #endif |