mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
vfd: try to avoid annoing display of volume after leaving standby modes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 18a0d03396
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-07-05 (Mon, 05 Jul 2021)
Origin message was:
------------------
- vfd: try to avoid annoing display of volume after leaving standby modes
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -3220,8 +3220,12 @@ TIMER_START();
|
||||
|
||||
g_audioMute->AudioMute(current_muted, true);
|
||||
CZapit::getInstance()->SetVolumePercent(g_settings.audio_volume_percent_ac3, g_settings.audio_volume_percent_pcm);
|
||||
CVFD::getInstance()->showVolume(g_settings.current_volume, false);
|
||||
//CVFD::getInstance()->setMuted(current_muted);
|
||||
CVFD::getInstance()->setMuted(current_muted);
|
||||
if (g_info.hw_caps->display_has_statusline)
|
||||
CVFD::getInstance()->showVolume(g_settings.current_volume, false);
|
||||
else
|
||||
CVFD::getInstance()->setVolume(g_settings.current_volume);
|
||||
|
||||
|
||||
#ifdef ENABLE_GRAPHLCD
|
||||
if (current_muted)
|
||||
@@ -5181,7 +5185,8 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
|
||||
|
||||
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
|
||||
CVFD::getInstance()->setBacklight(g_settings.backlight_tv);
|
||||
CVFD::getInstance()->showVolume(g_settings.current_volume, false);
|
||||
if (g_info.hw_caps->display_has_statusline)
|
||||
CVFD::getInstance()->showVolume(g_settings.current_volume, false);
|
||||
|
||||
CZapit::getInstance()->EnablePlayback(true);
|
||||
g_Zapit->setStandby(false);
|
||||
|
Reference in New Issue
Block a user