Mercurial > mplayer.hg
changeset 36968:f6bc6cf0fa90
Re-enable balance start value (skin default).
This has been temporarily disabled in r37060
and can be controlled now by guiInfo member
AudioPassthrough.
author | ib |
---|---|
date | Tue, 25 Mar 2014 12:41:20 +0000 |
parents | ed7aac796e22 |
children | 4fa7293b11fc |
files | gui/interface.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/interface.c Tue Mar 25 12:27:17 2014 +0000 +++ b/gui/interface.c Tue Mar 25 12:41:20 2014 +0000 @@ -721,9 +721,8 @@ if (last_balance < 0.0f) { uiEvent(ivSetVolume, guiInfo.Volume); - // DISABLED UNTIL BUGFIX IN MIXER.C/AF_FORMAT.C FOR AC3 AUDIO - //if (guiInfo.AudioChannels? =?= 2) - // uiEvent(ivSetBalance, guiInfo.Balance); + if (guiInfo.AudioChannels == 2 && !guiInfo.AudioPassthrough) + uiEvent(ivSetBalance, guiInfo.Balance); last_balance = guiInfo.Balance; }