repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bc8934
)
cec: don't send out system audio mode statuses when we're not an audio device
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 29 Nov 2011 00:58:53 +0000
(
01:58
+0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 29 Nov 2011 00:58:53 +0000
(
01:58
+0100)
src/lib/devices/CECAudioSystem.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/devices/CECAudioSystem.cpp
b/src/lib/devices/CECAudioSystem.cpp
index 3a941c6ff7967a1e2376e46ed1899ffcb803062d..46824fc538836e824ebecf5005e3df554c120892 100644
(file)
--- a/
src/lib/devices/CECAudioSystem.cpp
+++ b/
src/lib/devices/CECAudioSystem.cpp
@@
-84,7
+84,9
@@
bool CCECAudioSystem::SetSystemAudioMode(const cec_command &command)
CEC_SYSTEM_AUDIO_STATUS_OFF :
CEC_SYSTEM_AUDIO_STATUS_ON);
- return TransmitAudioStatus(command.initiator);
+ if (MyLogicalAddressContains(m_iLogicalAddress))
+ return TransmitAudioStatus(command.initiator);
+ return true;
}
bool CCECAudioSystem::TransmitAudioStatus(cec_logical_address dest)