Changeset 2721:c3d01f76c247 in roaraudio


Ignore:
Timestamp:
09/15/09 01:29:16 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added stubs for rdtcs_check_stream() and rdtcs_send_stream()

Location:
roard
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • roard/include/rdtcs.h

    r2720 r2721  
    5555int rdtcs_init_config  (void); 
    5656 
     57int rdtcs_check_stream  (int id); 
     58int rdtcs_send_stream   (int id); 
     59 
    5760#endif 
    5861 
  • roard/rdtcs.c

    r2719 r2721  
    4747} 
    4848 
     49int rdtcs_check_stream  (int id) { 
     50 return -1; 
     51} 
     52 
     53int rdtcs_send_stream   (int id) { 
     54 return -1; 
     55} 
     56 
    4957#endif 
    5058 
  • roard/streams.c

    r2714 r2721  
    12011201#endif 
    12021202   break; 
     1203  case ROAR_DIR_RDTCS_IN: 
     1204#ifndef ROAR_WITHOUT_DCOMP_RDTCS 
     1205    return rdtcs_check_stream(id); 
     1206#else 
     1207    streams_delete(id); 
     1208    return -1; 
     1209#endif 
     1210   break; 
    12031211  case ROAR_DIR_PLAY: 
    12041212  case ROAR_DIR_BIDIR: 
     
    13451353#endif 
    13461354   break; 
     1355  case ROAR_DIR_RDTCS_OUT: 
     1356#ifndef ROAR_WITHOUT_DCOMP_RDTCS 
     1357    return rdtcs_send_stream(id); 
     1358#else 
     1359    streams_delete(id); 
     1360    return -1; 
     1361#endif 
     1362   break; 
    13471363 
    13481364  case ROAR_DIR_COMPLEX_OUT: 
Note: See TracChangeset for help on using the changeset viewer.