Changeset 25591


Ignore:
Timestamp:
01/10/14 14:34:32 (9 years ago)
Author:
obi
Message:

mute fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/global.h

    r25558 r25591  
    1313        else if(flag == 1)
    1414                vol = ostrcat(getconfig("vol_playerstop", NULL), NULL, 0, 0);
     15        else
     16                vol = ostrcat("0", NULL, 0, 0);
    1517
    1618        cmd = ostrcat("amixer -c 1 set Analog playback '", vol, 0, 0);
     
    53255327        if(value == 2)
    53265328        {
     5329                if(status.mcaktiv == 1)
     5330                        set_player_sound(0);
     5331                else
     5332                        set_player_sound(1);
     5333               
    53275334                tmpvol = getvol();
    53285335                tmpvol = tmpvol * 50 / 100;
     
    53325339        else
    53335340        {
     5341                // disable sound
     5342                set_player_sound(2);
    53345343                mutedev = getconfig("mutedev", NULL);
    53355344
Note: See TracChangeset for help on using the changeset viewer.