Changeset 2540:5b991813618c in roaraudio


Ignore:
Timestamp:
09/02/09 04:03:14 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

corrected checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroaresd/esdctl.c

    r1660 r2540  
    9090 char buf[80] = ""; 
    9191 
    92  if ( player_info->format & ESD_BITS16 ) 
     92 if ( (player_info->format & ESD_BITS16) == ESD_BITS16 ) 
    9393  strcat(buf, "16 bit "); 
    9494 else 
    9595  strcat(buf, "8 bit "); 
    9696 
    97  if ( player_info->format & ESD_MONO ) 
     97 if ( (player_info->format & ESD_STEREO) == ESD_STEREO ) 
    9898  strcat(buf, "stereo "); 
    9999 else 
Note: See TracChangeset for help on using the changeset viewer.