Changeset 1120:b6c25640aa42 in roaraudio for roard/driver_esd.c
- Timestamp:
- 01/16/09 17:54:08 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/driver_esd.c
r930 r1120 65 65 return -1; 66 66 67 inst->read = driver_esd_read; 68 inst->write = driver_esd_write; 67 inst->read = driver_esd_read; 68 inst->write = driver_esd_write; 69 inst->nonblock = driver_esd_nonblock; 70 inst->sync = driver_esd_sync; 71 69 72 return driver_esd_open_sysio(&(inst->inst), device, info); 70 73 } … … 103 106 } 104 107 108 int driver_esd_nonblock(struct roar_vio_calls * vio, int state) { 109 return roar_socket_nonblock(*(int*)vio->inst, state); 110 } 111 112 int driver_esd_sync (struct roar_vio_calls * vio) { 113 return fdatasync(*(int*)vio->inst); 114 } 105 115 106 116 #endif
Note: See TracChangeset
for help on using the changeset viewer.