Changeset 2675:8b6547df9647 in roaraudio for roard/container_framework.c
- Timestamp:
- 09/12/09 23:46:24 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/container_framework.c
r2673 r2675 213 213 int cont_fw_ctl (struct roar_vio_calls * vio, int cmd, void * data); 214 214 215 // CF: 216 int cont_fw_cf_open(CODECFILTER_USERDATA_T * inst, int codec, 217 struct roar_stream_server * info, 218 struct roar_codecfilter * filter); 219 220 int cont_fw_cf_close(CODECFILTER_USERDATA_T inst) { 221 return cont_fw_delete(inst); 222 } 223 224 int cont_fw_cf_pause(CODECFILTER_USERDATA_T inst, int newstate); 225 226 227 // no direct read or writing... 228 int cont_fw_cf_write(CODECFILTER_USERDATA_T inst, char * buf, int len) { 229 return -1; 230 } 231 232 int cont_fw_cf_read (CODECFILTER_USERDATA_T inst, char * buf, int len) { 233 return -1; 234 } 235 236 int cont_fw_cf_flush(CODECFILTER_USERDATA_T inst) { 237 struct cont_fw_parent_inst * self = (void*)inst; 238 239 if ( self->pcb.flush != NULL ) 240 return self->pcb.flush(self); 241 242 return 0; 243 } 244 245 int cont_fw_cf_delay(CODECFILTER_USERDATA_T inst, uint_least32_t * delay); 246 247 int cont_fw_cf_ctl (CODECFILTER_USERDATA_T inst, int cmd, void * data) { 248 return -1; 249 } 250 215 251 //ll
Note: See TracChangeset
for help on using the changeset viewer.