Skip to content
This repository has been archived by the owner on Sep 30, 2018. It is now read-only.

Commit

Permalink
changed: Show volume level when unmuting
Browse files Browse the repository at this point in the history
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35334 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information
arnova committed Nov 19, 2010
1 parent c68d169 commit 0fedfad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xbmc/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4857,12 +4857,15 @@ void CApplication::Mute(void)
{ // muted - unmute.
// In case our premutevolume is 0, return to 100% volume
if( g_settings.m_iPreMuteVolumeLevel == 0 )
{
SetVolume(100);
}
else
{
SetVolume(g_settings.m_iPreMuteVolumeLevel);
g_settings.m_iPreMuteVolumeLevel = 0;
}
m_guiDialogVolumeBar.Show();
}
else
{ // mute
Expand Down

0 comments on commit 0fedfad

Please sign in to comment.