Changeset 63:d8ba12b0b152 in roaraudio


Ignore:
Timestamp:
07/12/08 12:41:28 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

we need the clients and the sources to be inited to add sources, so init them first

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/roard.c

    r62 r63  
    7777 } 
    7878 
     79 if ( clients_init() == -1 ) { 
     80  ROAR_ERR("Can not init clients!"); 
     81  return 1; 
     82 } 
     83 
     84 if ( streams_init() == -1 ) { 
     85  ROAR_ERR("Can not init streams!"); 
     86  return 1; 
     87 } 
     88 
    7989 if ( sources_init() == -1 ) { 
    8090  ROAR_ERR("Can not init sources!"); 
     
    167177 } 
    168178 
    169  if ( clients_init() == -1 ) { 
    170   ROAR_ERR("Can not init clients!"); 
    171   return 1; 
    172  } 
    173  
    174  if ( streams_init() == -1 ) { 
    175   ROAR_ERR("Can not init streams!"); 
    176   return 1; 
    177  } 
    178  
    179179 if ( samples_init() == -1 ) { 
    180180  ROAR_ERR("Can not init samples!"); 
Note: See TracChangeset for help on using the changeset viewer.