fix CEC for all arm boxes

Origin commit data
------------------
Branch: master
Commit: 768297039d
Author: TangoCash <eric@loxat.de>
Date: 2020-05-29 (Fri, 29 May 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2020-05-29 16:20:16 +02:00
committed by vanhofen
parent d8aa4545ed
commit bbbc5294e9
2 changed files with 289 additions and 189 deletions

View File

@@ -2,7 +2,7 @@
#define __HDMI_CEC_H__
/*
Copyright (C) 2018 TangoCash
Copyright (C) 2018-2020 TangoCash
License: GPLv2
@@ -34,6 +34,13 @@ struct cec_message
unsigned char length;
} __attribute__((packed));
struct cec_message_fb
{
unsigned char address;
unsigned char length;
unsigned char data[256];
} __attribute__((packed));
struct addressinfo
{
unsigned char logical;
@@ -56,7 +63,7 @@ private:
void run();
bool Start();
bool Stop();
void Receive();
void Receive(int what);
unsigned char physicalAddress[2];
bool autoview_cec_activ;
unsigned char deviceType, logicalAddress;
@@ -70,6 +77,7 @@ private:
void request_audio_status();
bool muted;
int volume;
bool fallback;
protected:
bool running;
public: