Changeset 3665:c5a64a24bef4 in roaraudio
- Timestamp:
- 04/04/10 13:32:15 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroaross/libroaross.c
r3664 r3665 451 451 int i; 452 452 453 ROAR_DBG("_open_file(pathname='%s', flags=0x%x) = ?", pathname, flags); 454 453 455 for (i = 0; _device_list[i].prefix != NULL; i++) { 454 456 if ( !strcmp(pathname, _device_list[i].prefix) ) { … … 461 463 462 464 if ( (session = _open_session(NULL, NULL)) == NULL ) { 465 ROAR_DBG("_open_file(pathname='%s', flags=0x%x) = -1", pathname, flags); 463 466 return -1; 464 467 } … … 466 469 if ( (handle = _open_handle(session)) == NULL ) { 467 470 _close_session(session); 471 ROAR_DBG("_open_file(pathname='%s', flags=0x%x) = -1", pathname, flags); 468 472 return -1; 469 473 } … … 484 488 handle->stream_dir = ROAR_DIR_LIGHT_OUT; 485 489 break; 490 case HT_MIXER: 491 break; 486 492 default: 493 ROAR_DBG("_open_file(pathname='%s', flags=0x%x) = -1", pathname, flags); 487 494 return -1; 488 495 } … … 500 507 break; 501 508 default: 509 ROAR_DBG("_open_file(pathname='%s', flags=0x%x) = -1", pathname, flags); 502 510 return -1; 503 511 } … … 509 517 break; 510 518 default: 519 ROAR_DBG("_open_file(pathname='%s', flags=0x%x) = -1", pathname, flags); 511 520 return -1; 512 521 } … … 535 544 if ( (pointer = _open_pointer(handle)) == NULL ) { 536 545 _close_handle(handle); 546 ROAR_DBG("_open_file(pathname='%s', flags=0x%x) = -1", pathname, flags); 537 547 return -1; 538 548 } 549 550 ROAR_DBG("_open_file(pathname='%s', flags=0x%x) = %i", pathname, flags, pointer->fh); 539 551 540 552 return pointer->fh;
Note: See TracChangeset
for help on using the changeset viewer.