Changeset 2673:fcc93333d5d0 in roaraudio


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

set vio on child stream

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/container_framework.c

    r2672 r2673  
    9595int     cont_fw_new_child(struct cont_fw_parent_inst  * inst, int id) { 
    9696 struct cont_fw_child_vio_inst * self; 
     97 struct roar_stream_server     * ss; 
    9798 int i; 
    9899 int cid = -1; 
    99100 
    100101 if ( inst == NULL || id == -1 ) 
     102  return -1; 
     103 
     104 if ( streams_get(id, &ss) == -1 ) 
    101105  return -1; 
    102106 
     
    130134 } 
    131135 
     136 // no error possible here. 
     137 cont_fw_init_vio(&(ss->vio), self); 
     138 
     139 streams_set_fh(id, -1); // update some internal structures 
     140 
    132141 return 0; 
    133142} 
Note: See TracChangeset for help on using the changeset viewer.