Changeset 2953:6135960d6eed in roaraudio


Ignore:
Timestamp:
10/17/09 09:30:31 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added support for flags immutable and enhance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarctl.c

    r2916 r2953  
    404404    if ( info.flags & ROAR_FLAG_PRETHRU ) 
    405405     strcat(flags, "prethru "); 
     406    if ( info.flags & ROAR_FLAG_IMMUTABLE ) 
     407     strcat(flags, "immutable "); 
     408    if ( info.flags & ROAR_FLAG_ENHANCE ) 
     409     strcat(flags, "enhance "); 
    406410 
    407411    printf("Flags                 : %s\n", flags); 
     
    802806  } else if ( !strcmp(c, "prethru") ) { 
    803807   f |= ROAR_FLAG_PRETHRU; 
     808  } else if ( !strcmp(c, "immutable") ) { 
     809   f |= ROAR_FLAG_IMMUTABLE; 
     810  } else if ( !strcmp(c, "enhance") ) { 
     811   f |= ROAR_FLAG_ENHANCE; 
    804812  } else { 
    805813   fprintf(stderr, "Error: unknown flag: %s\n", c); 
Note: See TracChangeset for help on using the changeset viewer.