cec volume switch audiosystem/tv

This commit is contained in:
TangoCash
2021-01-31 18:16:08 +01:00
committed by Thilo Graf
parent 0329b7b783
commit 91a546d082
8 changed files with 118 additions and 33 deletions

View File

@@ -1303,3 +1303,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);
}