Changeset 4819:bfe88a001985 in roaraudio for roard/driver_oss.c
- Timestamp:
- 03/28/11 12:41:15 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/driver_oss.c
r4815 r4819 535 535 536 536 ssize_t driver_oss_write (struct roar_vio_calls * vio, void *buf, size_t count) { 537 ROAR_DBG("driver_oss_write(vio=%p, buf=%p, count=%llu) = ?", vio, buf, (long long unsigned int)count); 538 537 539 if ( _get(vio,fh) == -1 ) 538 540 return -1; … … 548 550 549 551 ssize_t driver_oss_read (struct roar_vio_calls * vio, void *buf, size_t count) { 552 ROAR_DBG("driver_oss_read(vio=%p, buf=%p, count=%llu) = ?", vio, buf, (long long unsigned int)count); 553 550 554 if ( _get(vio,fh) == -1 ) 551 555 return -1; … … 553 557 if ( _get(vio,need_config) ) { 554 558 if ( driver_oss_config_device(vio->inst) == -1 ) { 559 ROAR_DBG("driver_oss_read(vio=%p, buf=%p, count=%llu) = -1", vio, buf, (long long unsigned int)count); 555 560 return -1; 556 561 } 557 562 } 558 563 564 ROAR_DBG("driver_oss_read(vio=%p, buf=%p, count=%llu) = ?", vio, buf, (long long unsigned int)count); 565 559 566 return read(_get(vio,fh), buf, count); 560 567 }
Note: See TracChangeset
for help on using the changeset viewer.