Mercurial > mplayer.hg
changeset 35544:fd7a5b62326d
Add comment.
author | ib |
---|---|
date | Sun, 09 Dec 2012 14:44:58 +0000 |
parents | 5289e495e70e |
children | d83d2bd5f365 |
files | gui/interface.c gui/ui/main.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/interface.c Sun Dec 09 14:42:36 2012 +0000 +++ b/gui/interface.c Sun Dec 09 14:44:58 2012 +0000 @@ -758,7 +758,7 @@ btnModify(evSetVolume, guiInfo.Volume); mixer_getbalance(mixer, &b); - guiInfo.Balance = (b + 1.0) * 50.0; + guiInfo.Balance = (b + 1.0) * 50.0; // transform -1..1 to 0..100 if (guiInfo.Balance != last_balance) { l = guiInfo.Volume * (100.0 - guiInfo.Balance) / 50.0;
--- a/gui/ui/main.c Sun Dec 09 14:42:36 2012 +0000 +++ b/gui/ui/main.c Sun Dec 09 14:44:58 2012 +0000 @@ -306,7 +306,7 @@ case evSetBalance: guiInfo.Balance=param; - mixer_setbalance( mixer,(guiInfo.Balance - 50.0 ) / 50.0 ); + mixer_setbalance( mixer,(guiInfo.Balance - 50.0 ) / 50.0 ); // transform 0..100 to -1..1 osd = osd_level; osd_level = 0; uiEventHandling(evSetVolume, guiInfo.Volume);