Changeset 1883:c22154cef3a2 in roaraudio for roarclients/roarctl.c


Ignore:
Timestamp:
05/23/09 20:52:04 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added flag mute

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarctl.c

    r1842 r1883  
    306306    if ( info.flags & ROAR_FLAG_PAUSE ) 
    307307     strcat(flags, "pause "); 
     308    if ( info.flags & ROAR_FLAG_MUTE ) 
     309     strcat(flags, "mute "); 
    308310 
    309311    printf("Flags                 : %s\n", flags); 
     
    639641  } else if ( !strcmp(c, "pause") ) { 
    640642   f |= ROAR_FLAG_PAUSE; 
     643  } else if ( !strcmp(c, "mute") ) { 
     644   f |= ROAR_FLAG_MUTE; 
    641645  } else { 
    642646   fprintf(stderr, "Error: unknown flag: %s\n", c); 
Note: See TracChangeset for help on using the changeset viewer.