mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
cec volume switch audiosystem/tv
This commit is contained in:
@@ -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__
|
||||
|
Reference in New Issue
Block a user