cec volume switch audiosystem/tv

Origin commit data
------------------
Branch: master
Commit: 2f3bba3864
Author: TangoCash <eric@loxat.de>
Date: 2021-01-31 (Sun, 31 Jan 2021)


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

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2021-01-31 18:16:08 +01:00
committed by vanhofen
parent 683926c18a
commit 3865a004f8
8 changed files with 118 additions and 33 deletions

View File

@@ -2,7 +2,7 @@
#define __HDMI_CEC_H__
/*
Copyright (C) 2018-2020 TangoCash
Copyright (C) 2018-2021 TangoCash
License: GPLv2
@@ -79,6 +79,7 @@ private:
int volume;
bool fallback;
bool tv_off;
unsigned char audio_destination;
protected:
bool running;
public:
@@ -103,6 +104,11 @@ public:
{
return muted;
};
int GetAudioDestination()
{
return (int)audio_destination;
}
void SetAudioDestination(int audio_dest);
};
#endif // __HDMI_CEC_H__