Changeset 5388:e5cc8e03a3e1 in roaraudio for libroar/vio_dstr.c
- Timestamp:
- 01/17/12 11:27:07 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/vio_dstr.c
r5381 r5388 411 411 } 412 412 413 struct roar_vio_calls * roar_vio_open_dstr_simple_new(const char * dstr, int o_flags) { 414 struct roar_vio_calls * ret = roar_mm_malloc(sizeof(struct roar_vio_calls)); 415 int err; 416 417 if ( ret == NULL ) 418 return NULL; 419 420 if ( roar_vio_open_dstr_simple(ret, dstr, o_flags) == -1 ) { 421 err = roar_error; 422 roar_mm_free(ret); 423 roar_error = err; 424 return NULL; 425 } 426 427 ret->flags |= ROAR_VIO_FLAGS_FREESELF; 428 429 return ret; 430 } 431 413 432 int roar_vio_open_dstr (struct roar_vio_calls * calls, const char * dstr, struct roar_vio_defaults * def, int dnum) { 414 433 return roar_vio_open_dstr_vio(calls, dstr, def, dnum, NULL);
Note: See TracChangeset
for help on using the changeset viewer.