Changeset 1883:c22154cef3a2 in roaraudio


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

added flag mute

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/stream.h

    r1842 r1883  
    6565#define ROAR_FLAG_HWMIXER        0x0080 
    6666#define ROAR_FLAG_PAUSE          0x0100 
     67#define ROAR_FLAG_MUTE           0x0200 
    6768//#define ROAR_FLAG_SYNC           0x08 
    6869 
  • 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.