introduce hdmi_cec to driver

Conflicts:
	data/locale/deutsch.locale
	src/driver/Makefile.am
	src/neutrino.cpp
	src/system/locals.h
	src/system/locals_intern.h
This commit is contained in:
TangoCash
2022-11-19 13:25:46 +01:00
committed by Thilo Graf
parent 1f56d23dd2
commit 47727e504a
18 changed files with 2100 additions and 40 deletions

View File

@@ -30,14 +30,11 @@
#endif
#include <global.h>
#include <neutrino.h>
#include <hardware/video.h>
#include <driver/display.h>
#include <driver/hdmi_cec.h>
#include <gui/infoclock.h>
#include <gui/volumebar.h>
#include <gui/audiomute.h>
#include <driver/display.h>
#include <system/helpers.h>
CAudioMute::CAudioMute():CComponentsPicture(0, 0, NEUTRINO_ICON_MUTED)
@@ -70,8 +67,8 @@ void CAudioMute::AudioMute(int newValue, bool isEvent)
#endif
neutrino->setCurrentMuted(newValue);
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
if (g_settings.hdmi_cec_volume)
hdmi_cec::getInstance()->toggle_mute();
if (g_settings.hdmi_cec_volume && !doInit)
g_hdmicec->toggle_mute();
else
#endif
g_Zapit->muteAudio(newValue);