Changeset 1578:1d27931e80c1 in roaraudio for include
- Timestamp:
- 04/13/09 14:49:56 (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- include/libroarsndio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroarsndio/libroarsndio.h
r1572 r1578 36 36 #include <roaraudio.h> 37 37 38 #ifdef __cplusplus 39 extern "C" { 40 #endif 41 38 42 #ifdef ROAR_HAVE_LIBSNDIO 39 43 #include <sndio.h> … … 63 67 }; 64 68 69 #ifdef __cplusplus 70 } 71 #endif 72 65 73 #endif 66 74 -
include/libroarsndio/sndiosym.h
r1574 r1578 48 48 #define SIO_SYNC 1 /* resync after xrun */ 49 49 #define SIO_ERROR 2 /* terminate on xrun */ 50 #define SIO_XSTRINGS {"ignore", "sync", "error"} 51 52 #define SIO_NENC 8 53 #define SIO_NCHAN 8 54 #define SIO_NRATE 16 55 #define SIO_NCONF 4 56 57 #define SIO_ENCMAX 10 50 58 51 59 #if BYTE_ORDER == BIG_ENDIAN && !defined(ROAR_TARGET_WIN32) … … 59 67 #endif 60 68 61 #define SIO_BPS(bits) (((bits) /8) + ((bits) % 8 ? 1 : 0))69 #define SIO_BPS(bits) (((bits) <= 8) ? 1 : (((bits) <= 16) ? 2 : 4)) 62 70 63 #define SIO_MAXVOL 65535 71 #define SIO_SUN_PATH NULL 72 #define SIO_AUCAT_PATH NULL 73 74 #define SIO_MAXVOL 127 75 64 76 65 77 struct sio_par {
Note: See TracChangeset
for help on using the changeset viewer.