Changeset 4846:58d1d4cb7602 in roaraudio for roard/driver_oss.c
- Timestamp:
- 04/08/11 13:11:56 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/driver_oss.c
r4819 r4846 426 426 427 427 int driver_oss_nonblock(struct roar_vio_calls * vio, int state) { 428 if ( roar_socket_nonblock(_get(vio,fh), state) == -1 ) 429 return -1; 430 431 if ( state == ROAR_SOCKET_NONBLOCK ) 428 ROAR_DBG("driver_oss_nonblock(vio=%p, state=%i) = ?", vio, state); 429 430 if ( roar_socket_nonblock(_get(vio,fh), state) == -1 ) { 431 ROAR_DBG("driver_oss_nonblock(vio=%p, state=%i) = -1", vio, state); 432 return -1; 433 } 434 435 if ( state == ROAR_SOCKET_NONBLOCK ) { 436 ROAR_DBG("driver_oss_nonblock(vio=%p, state=%i) = 0", vio, state); 432 437 return 0; 438 } 433 439 434 440 roar_vio_sync(vio); 441 442 ROAR_DBG("driver_oss_nonblock(vio=%p, state=%i) = 0", vio, state); 435 443 436 444 return 0;
Note: See TracChangeset
for help on using the changeset viewer.