Changeset 64:93c00fbc439a in roaraudio for roard/roard.c


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

changed some basic things to support sources

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/roard.c

    r63 r64  
    8787 } 
    8888 
     89 if ( (g_self_client = clients_new()) == -1 ) { 
     90  ROAR_ERR("Can not create self client!"); 
     91  return 1; 
     92 } 
     93 
    8994 if ( sources_init() == -1 ) { 
    9095  ROAR_ERR("Can not init sources!"); 
     96  return 1; 
     97 } 
     98 
     99 if ( (sources_set_client(g_self_client)) == -1 ) { 
     100  ROAR_ERR("Can not init set source client!"); 
    91101  return 1; 
    92102 } 
     
    187197 
    188198 
    189  if ( (g_self_client = clients_new()) == -1 ) { 
    190   ROAR_ERR("Can not create self client!"); 
    191   return 1; 
    192  } 
    193  
    194199 clients_set_pid(g_self_client, getpid()); 
    195200 clients_get(g_self_client, &self); 
Note: See TracChangeset for help on using the changeset viewer.