Changeset 4510:669fd752a473 in roaraudio


Ignore:
Timestamp:
10/13/10 04:13:21 (8 years ago)
Author:
phi
Branch:
default
Message:

make the supported transports conditional

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/caps.c

    r4508 r4510  
    2727 
    2828static uint32_t _g_caps_standards[] = { 
    29  ROAR_STD_MAKE(ROAR_STDV_ROARAUDIO,  0, 0), 
    30  ROAR_STD_MAKE(ROAR_STDV_ROARAUDIO,  4, 0), 
    31  ROAR_STD_MAKE(ROAR_STDV_ROARAUDIO, 12, 0) 
     29 // message formats: 
     30 ROAR_STD_MAKE(ROAR_STDV_ROARAUDIO,  0, 0), // v. 0 
     31 
     32 // command sets: 
     33 ROAR_STD_MAKE(ROAR_STDV_ROARAUDIO,  4, 0), // basic commands 
     34 
     35 // well known numbers: 
     36 ROAR_STD_MAKE(ROAR_STDV_ROARAUDIO, 12, 0), // codecs 
     37 
     38 // transports: 
     39#ifdef ROAR_HAVE_UNIX 
     40 ROAR_STD_MAKE(ROAR_STDV_ROARAUDIO, 23, 0), // UNIX 
     41#endif 
     42#ifdef ROAR_HAVE_LIBDNET 
     43 ROAR_STD_MAKE(ROAR_STDV_ROARAUDIO, 24, 0), // DECnet 
     44#endif 
     45#ifdef ROAR_HAVE_IPV4 
     46 ROAR_STD_MAKE(ROAR_STDV_ROARAUDIO, 25, 0), // TCP 
     47#endif 
     48 
     49 0xFFFFFFFF // terminater 
    3250}; 
    3351 
    3452struct roar_stds g_caps_stds = { 
    35  .stds_len = sizeof(_g_caps_standards)/sizeof(*_g_caps_standards), 
     53 .stds_len = (sizeof(_g_caps_standards)/sizeof(*_g_caps_standards)) - 1, 
    3654 .stds     = _g_caps_standards 
    3755}; 
Note: See TracChangeset for help on using the changeset viewer.