yWeb: Synchronize volume/audiomute settings yWeb => GUI

This commit is contained in:
M. Liebmann
2014-02-12 05:45:51 +01:00
parent 63d66538ce
commit 92fce346c0
7 changed files with 37 additions and 4 deletions

View File

@@ -74,6 +74,15 @@ void CVolume::setvol(int vol)
CZapit::getInstance()->SetVolume(vol);
}
void CVolume::setVolumeExt(int vol)
{
g_settings.current_volume = vol;
CZapit::getInstance()->SetVolume(vol);
CVFD::getInstance()->showVolume(vol);
if (CNeutrinoApp::getInstance()->isMuted() && vol > 0)
CAudioMute::getInstance()->AudioMute(false, true);
}
void CVolume::setVolume(const neutrino_msg_t key)
{
neutrino_msg_t msg = key;