fix volume

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1845 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2001-09-02 19:37:46 +00:00
parent 6151f331fb
commit 799e438d53
1 changed files with 3 additions and 0 deletions

View File

@ -1594,6 +1594,9 @@ if(auto_quality>0){
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;