Changeset 5276:0eb24ca6810e in roaraudio for libroar/vio_proto.c
- Timestamp:
- 11/20/11 18:36:49 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/vio_proto.c
r5254 r5276 121 121 calls->write = roar_vio_proto_write; 122 122 // calls->lseek = roar_vio_proto_lseek; // TODO: this is currently not supported 123 calls->nonblock = roar_vio_proto_nonblock;124 123 calls->sync = roar_vio_proto_sync; 125 124 calls->ctl = roar_vio_proto_ctl; … … 232 231 // TODO: this is currently not implemented as this is hard to implement with buffers: 233 232 off_t roar_vio_proto_lseek (struct roar_vio_calls * vio, off_t offset, int whence); 234 235 int roar_vio_proto_nonblock(struct roar_vio_calls * vio, int state) {236 struct roar_vio_proto * self = vio->inst;237 238 /* we can simply use the next layer's nonblock as all we do in addtion *239 * to call there functions are our buffers which do not block normaly */240 241 return roar_vio_nonblock(self->next, state);242 }243 233 244 234 int roar_vio_proto_sync (struct roar_vio_calls * vio) {
Note: See TracChangeset
for help on using the changeset viewer.