From: Lars Op den Kamp Date: Thu, 10 Nov 2011 17:30:00 +0000 (+0100) Subject: cec: audio systems cannot be an active source, so don't transmit active source messag... X-Git-Tag: upstream/2.2.0~1^2~69 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=fe173477e4bef75ac6fb90e1ebcc9f65ca48e8f6;p=deb_libcec.git cec: audio systems cannot be an active source, so don't transmit active source message from this device --- diff --git a/src/lib/devices/CECAudioSystem.h b/src/lib/devices/CECAudioSystem.h index 82718f9..56b73a1 100644 --- a/src/lib/devices/CECAudioSystem.h +++ b/src/lib/devices/CECAudioSystem.h @@ -45,6 +45,8 @@ namespace CEC virtual bool TransmitAudioStatus(cec_logical_address dest); virtual bool TransmitSystemAudioModeStatus(cec_logical_address dest); + virtual bool TransmitActiveSource(void) { return false; } + protected: cec_system_audio_status m_systemAudioStatus; cec_audio_status m_audioStatus;