Changeset 3239:5e424066db4f in roaraudio for include/libroarsndio/sndiosym.h
- Timestamp:
- 01/28/10 14:55:05 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroarsndio/sndiosym.h
r2574 r3239 92 92 }; 93 93 94 struct sio_cap; 94 struct sio_cap { 95 struct sio_enc { /* allowed encodings */ 96 unsigned bits; /* bits per sample */ 97 unsigned bps; /* bytes per sample */ 98 unsigned sig; /* 1 = signed, 0 = unsigned */ 99 unsigned le; /* 1 = LE, 0 = BE byte order */ 100 unsigned msb; /* 1 = MSB, 0 = LSB aligned */ 101 } enc[SIO_NENC]; 102 unsigned rchan[SIO_NCHAN]; /* allowed rchans */ 103 unsigned pchan[SIO_NCHAN]; /* allowed pchans */ 104 unsigned rate[SIO_NRATE]; /* allowed rates */ 105 unsigned nconf; /* num. of confs[] */ 106 struct sio_conf { 107 unsigned enc; /* bitmask of enc[] indexes */ 108 unsigned rchan; /* bitmask of rchan[] indexes */ 109 unsigned pchan; /* bitmask of pchan[] indexes */ 110 unsigned rate; /* bitmask of rate[] indexes */ 111 } confs[SIO_NCONF]; 112 }; 95 113 96 114 struct sio_hdl * sio_open(const char * name, unsigned mode, int nbio_flag);
Note: See TracChangeset
for help on using the changeset viewer.