mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 10:21:10 +02:00
yWeb: Synchronize volume/audiomute settings yWeb => GUI
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user