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

@@ -130,6 +130,12 @@ typedef enum {
VIDEO_HDMI_CEC_MODE_RECORDER = 1
} VIDEO_HDMI_CEC_MODE;
typedef enum {
VIDEO_HDMI_CEC_VOL_OFF = 0,
VIDEO_HDMI_CEC_VOL_AUDIOSYSTEM = 1,
VIDEO_HDMI_CEC_VOL_TV = 2
} VIDEO_HDMI_CEC_VOL;
typedef enum
{
VIDEO_CONTROL_BRIGHTNESS = 0,
@@ -238,6 +244,8 @@ class cVideo
bool SetCECMode(VIDEO_HDMI_CEC_MODE);
void SetCECAutoView(bool);
void SetCECAutoStandby(bool);
int GetAudioDestination();
void SetAudioDestination(int audio_dest);
bool ShowPicture(const char * fname);
void StopPicture();
void Standby(unsigned int bOn);