Changeset 2739:d186518934cd in roaraudio


Ignore:
Timestamp:
09/21/09 01:44:09 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

volume change support: stereo -> 1.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarctl.c

    r2738 r2739  
    484484 
    485485  switch (chans) { 
     486   case 1: 
     487     mixer.mixer[0] = vol_mono; 
     488    break; 
     489//   case 2: classic stereo... 
    486490   case 3: 
    487491     mixer.mixer[2] = vol_mono; 
     
    503507    break; 
    504508   default: 
    505      ROAR_ERR("mode stereo not supported"); 
     509     ROAR_ERR("mode stereo not supported on stream with %i channels", chans); 
    506510     return -1; 
    507511    break; 
Note: See TracChangeset for help on using the changeset viewer.