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

@@ -1278,3 +1278,13 @@ void cVideo::SetCECAutoView(bool state)
{
hdmi_cec::getInstance()->SetCECAutoView(state);
}
int cVideo::GetAudioDestination()
{
return (int)hdmi_cec::getInstance()->GetAudioDestination();
}
void cVideo::SetAudioDestination(int audio_dest)
{
hdmi_cec::getInstance()->SetAudioDestination(audio_dest);
}