Changeset 1365:b13ad1406546 in roaraudio
- Timestamp:
- 03/24/09 23:37:38 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/vio_dstr.c
r1359 r1365 35 35 #include "libroar.h" 36 36 37 #ifndef ROAR_WITHOUT_VIO_DSTR 37 38 struct { 38 39 int id; … … 154 155 return NULL; 155 156 } 157 #endif 156 158 157 159 int roar_vio_dstr_init_defaults (struct roar_vio_defaults * def, int type, int o_flags, mode_t o_mode) { … … 179 181 } 180 182 183 #ifndef ROAR_WITHOUT_VIO_DSTR 181 184 int roar_vio_open_default (struct roar_vio_calls * calls, struct roar_vio_defaults * def) { 182 185 if ( calls == NULL || def == NULL ) … … 206 209 return 0; 207 210 } 211 #endif 208 212 209 213 int roar_vio_open_dstr (struct roar_vio_calls * calls, char * dstr, struct roar_vio_defaults * def, int dnum) { … … 216 220 char * dstr, struct roar_vio_defaults * def, int dnum, 217 221 struct roar_vio_calls * vio) { 222 #ifndef ROAR_WITHOUT_VIO_DSTR 218 223 struct roar_vio_dstr_chain chain[ROAR_VIO_DSTR_MAX_OBJ_PER_CHAIN]; 219 224 char * next; … … 319 324 320 325 _ret(0); 326 #else 327 return -1; 328 #endif 321 329 } 322 330 323 331 #undef _ret 324 332 333 #ifndef ROAR_WITHOUT_VIO_DSTR 325 334 int roar_vio_dstr_parse_opts(struct roar_vio_dstr_chain * chain) { 326 335 if ( chain == NULL ) … … 688 697 689 698 #undef _ret 699 #endif 690 700 691 701 //ll
Note: See TracChangeset
for help on using the changeset viewer.