Changeset 2351:0f61e46837d9 in roaraudio for include/libroarsndio/sndiosym.h
- Timestamp:
- 08/14/09 20:11:04 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroarsndio/sndiosym.h
r1578 r2351 44 44 #define SIO_PLAY 1 45 45 #define SIO_REC 2 46 #define MIO_OUT 4 47 #define MIO_IN 8 46 48 47 49 #define SIO_IGNORE 0 /* pause during xrun */ … … 120 122 void sio_onvol (struct sio_hdl * hdl, void (*cb)(void * arg, unsigned vol), void * arg); 121 123 124 // MIDI: 125 struct mio_hdl * mio_open (const char * name, unsigned mode, int nbio_flag); 126 void mio_close (struct mio_hdl * hdl); 127 size_t mio_write (struct mio_hdl * hdl, const void * addr, size_t nbytes); 128 size_t mio_read (struct mio_hdl * hdl, void * addr, size_t nbytes); 129 int mio_nfds (struct mio_hdl * hdl); 130 int mio_pollfd (struct mio_hdl * hdl, struct pollfd * pfd, int events); 131 int mio_revents(struct mio_hdl * hdl, struct pollfd * pfd); 132 int mio_eof (struct mio_hdl * hdl); 133 122 134 #endif 123 135
Note: See TracChangeset
for help on using the changeset viewer.