Changeset 934:0277459c7e79 in roaraudio for roard/clients.c


Ignore:
Timestamp:
12/07/08 18:20:23 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

got output streams basicly working, we should clean up some code anyway

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/clients.c

    r771 r934  
    353353int clients_send_mon  (struct roar_audio_info * sa, uint32_t pos) { 
    354354 int i; 
    355  int fh; 
     355// int fh; 
     356 int j; 
    356357 
    357358 for (i = 0; i < ROAR_CLIENTS_MAX; i++) { 
     
    359360   continue; 
    360361 
     362/* 
    361363  if ( (fh = g_clients[i]->fh) == -1 ) 
    362364   continue; 
     365*/ 
    363366 
    364367  if ( g_clients[i]->execed == -1 ) { 
    365368   // TODO: add some code to send a message to the client insetd of the raw data. 
     369   for (j = 0; j < ROAR_CLIENTS_MAX_STREAMS_PER_CLIENT; j++) { 
     370    //if ( (fh = streams_get_fh(g_clients[i]->streams[j])) != -1 ) { 
     371    ROAR_DBG("clients_send_mon(*): client=%i, stream=%i -> %i", i, j, g_clients[i]->streams[j]); 
     372    if ( g_clients[i]->streams[j] != -1 ) 
     373     streams_send_mon(g_clients[i]->streams[j]); 
     374   } 
    366375  } else { 
    367376//   streams_check(g_clients[i]->execed); 
Note: See TracChangeset for help on using the changeset viewer.