Mercurial > mplayer.hg
changeset 1844:84635c9e3aca
fix volume
author | pontscho |
---|---|
date | Sun, 02 Sep 2001 19:37:46 +0000 |
parents | 0c6a9ea73027 |
children | e03117bddf84 |
files | mplayer.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Sun Sep 02 19:10:45 2001 +0000 +++ b/mplayer.c Sun Sep 02 19:37:46 2001 +0000 @@ -1594,6 +1594,9 @@ case '/': { float mixer_l, mixer_r; mixer_getvolume( &mixer_l,&mixer_r ); + #ifdef HAVE_NEW_GUI + if ( use_gui ) mplShMem->Volume=( mixer_l + mixer_r ) / 2; + #endif if(c=='*' || c=='0'){ if ( ++mixer_l > 100 ) mixer_l = 100; if ( ++mixer_r > 100 ) mixer_r = 100;