Changeset 2678:61e0f033ffa2 in roaraudio


Ignore:
Timestamp:
09/12/09 23:59:29 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

started with code to open cf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/container_framework.c

    r2677 r2678  
    217217                                             struct roar_stream_server * info, 
    218218                                             struct roar_codecfilter   * filter) { 
    219  return -1; 
     219 struct cont_fw_parent_inst * self; 
     220 
     221 if ( cont_fw_new(&self) == -1 ) 
     222  return -1; 
     223 
     224 if ( self->pcb.open != NULL ) { 
     225  if ( self->pcb.open(self, codec, info, filter) == -1 ) { 
     226   cont_fw_delete(self); 
     227   return -1; 
     228  } 
     229 } 
     230 
     231 *inst = self; 
     232 return 0; 
    220233} 
    221234 
Note: See TracChangeset for help on using the changeset viewer.