Changeset 2667:7b1b15ee7541 in roaraudio
- Timestamp:
- 09/12/09 22:21:16 (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/container_framework.c
r2665 r2667 109 109 _BASIC(); 110 110 111 if ( inst->parent->c b.read != NULL )112 return inst->parent->c b.read(inst->parent, inst->inst, buf, count);111 if ( inst->parent->ccb.read != NULL ) 112 return inst->parent->ccb.read(inst->parent, inst->inst, buf, count); 113 113 114 114 return -1; … … 118 118 _BASIC(); 119 119 120 if ( inst->parent->c b.write != NULL )121 return inst->parent->c b.write(inst->parent, inst->inst, buf, count);120 if ( inst->parent->ccb.write != NULL ) 121 return inst->parent->ccb.write(inst->parent, inst->inst, buf, count); 122 122 123 123 return -1; … … 130 130 _BASIC(); 131 131 132 if ( inst->parent->c b.flush != NULL )133 return inst->parent->c b.flush(inst->parent, inst->inst);132 if ( inst->parent->ccb.flush != NULL ) 133 return inst->parent->ccb.flush(inst->parent, inst->inst); 134 134 135 135 return 0; … … 145 145 r = -1; 146 146 147 return -1; 147 if ( inst->parent->ccb.close != NULL ) 148 return inst->parent->ccb.close(inst->parent, inst->inst); 149 148 150 return r; 149 151 } -
roard/include/container_framework.h
r2666 r2667 51 51 int (*flush)(struct cont_fw_parent_inst * self, struct cont_fw_child * child); 52 52 int (*close)(struct cont_fw_parent_inst * self, struct cont_fw_child * child); 53 } scb;53 } ccb; 54 54 struct { 55 55 int (*close)(struct cont_fw_parent_inst * self);
Note: See TracChangeset
for help on using the changeset viewer.