Changeset 2858:4dbafd2f3680 in roaraudio for include
- Timestamp:
- 10/05/09 01:28:16 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/vio_ctl.h
r2058 r2858 52 52 #define ROAR_VIO_CTL_GET 0x1 53 53 #define ROAR_VIO_CTL_SET 0x2 54 54 55 #define ROAR_VIO_CTL_CLIENT 0x0000 55 56 #define ROAR_VIO_CTL_SERVER 0x1000 57 56 58 #define ROAR_VIO_CTL_GENERIC (0x0000<<16) 57 59 #define ROAR_VIO_CTL_STREAM (0x0001<<16) … … 69 71 #define ROAR_VIO_CTL_GET_SHUTDOWN (ROAR_VIO_CTL_GENERIC|0x0140) /* shutdown(), need specs */ 70 72 #define ROAR_VIO_CTL_SET_NOSYNC (ROAR_VIO_CTL_GENERIC|0x0150) /* delete call of vio sync() from object */ 73 #define ROAR_VIO_CTL_GET_NAME (ROAR_VIO_CTL_GENERIC|ROAR_VIO_CTL_GET|0x0160) /* get name of VIO */ 74 75 // get or set data format used for read and write calls, see below 76 #define ROAR_VIO_CTL_GET_DATA_FORMAT (ROAR_VIO_CTL_GENERIC|ROAR_VIO_CTL_GET|0x0170) 77 #define ROAR_VIO_CTL_SET_DATA_FORMAT (ROAR_VIO_CTL_GENERIC|ROAR_VIO_CTL_SET|0x0170) 71 78 72 79 // stream: … … 97 104 98 105 106 // Data format used for read/write(): 107 108 // _D_ata _F_ormat _T_ypes: 109 // generic types: 110 #define ROAR_VIO_DFT_UNKNOWN -1 111 #define ROAR_VIO_DFT_NULL 0x0000 112 #define ROAR_VIO_DFT_RAW 0x0001 /* raw bytes, default */ 113 114 // RoarAudio types: 115 #define ROAR_VIO_DFT_RA_MESSAGE 0x0101 116 #define ROAR_VIO_DFT_RA_BUFFER 0x0102 117 118 // extern types: 119 #define ROAR_VIO_DFT_OGG_PAGE 0x0201 120 #define ROAR_VIO_DFT_OGG_PACKET 0x0202 121 122 struct roar_vio_dataformat { 123 unsigned int type; 124 }; 125 99 126 #endif 100 127
Note: See TracChangeset
for help on using the changeset viewer.