Revert "introduce hdmi_cec to driver"

This reverts commit c8a58afe2feb95954a69e681a4234cd9c1a3f178 and the following hdmi_cec commits.

 Conflicts:
	src/neutrino.cpp
This commit is contained in:
vanhofen
2022-12-28 21:29:54 +01:00
committed by Thilo Graf
parent d67d9de4d3
commit d9f7525b95
16 changed files with 52 additions and 204 deletions

View File

@@ -30,11 +30,14 @@
#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)
@@ -67,8 +70,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 && !doInit)
g_hdmicec->toggle_mute();
if (g_settings.hdmi_cec_volume)
hdmi_cec::getInstance()->toggle_mute();
else
#endif
g_Zapit->muteAudio(newValue);