repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: couple of cleanups. don't refresh the vendorid when not needed. refresh the...
[deb_libcec.git]
/
src
/
lib
/
devices
/
CECAudioSystem.cpp
diff --git
a/src/lib/devices/CECAudioSystem.cpp
b/src/lib/devices/CECAudioSystem.cpp
index 38bdb47cbea23becd2f89ab61ec0d7748baa4200..81a92c39a90707db6bb0e7afed9572b024bf01ab 100644
(file)
--- a/
src/lib/devices/CECAudioSystem.cpp
+++ b/
src/lib/devices/CECAudioSystem.cpp
@@
-122,8
+122,8
@@
bool CCECAudioSystem::TransmitSystemAudioModeStatus(cec_logical_address dest)
uint8_t CCECAudioSystem::VolumeUp(void)
{
uint8_t CCECAudioSystem::VolumeUp(void)
{
- if (
Send
Keypress(CEC_USER_CONTROL_CODE_VOLUME_UP))
-
Send
KeyRelease();
+ if (
Transmit
Keypress(CEC_USER_CONTROL_CODE_VOLUME_UP))
+
Transmit
KeyRelease();
CLockObject lock(&m_mutex);
return m_audioStatus;
CLockObject lock(&m_mutex);
return m_audioStatus;
@@
-131,8
+131,8
@@
uint8_t CCECAudioSystem::VolumeUp(void)
uint8_t CCECAudioSystem::VolumeDown(void)
{
uint8_t CCECAudioSystem::VolumeDown(void)
{
- if (
Send
Keypress(CEC_USER_CONTROL_CODE_VOLUME_DOWN))
-
Send
KeyRelease();
+ if (
Transmit
Keypress(CEC_USER_CONTROL_CODE_VOLUME_DOWN))
+
Transmit
KeyRelease();
CLockObject lock(&m_mutex);
return m_audioStatus;
CLockObject lock(&m_mutex);
return m_audioStatus;
@@
-140,8
+140,8
@@
uint8_t CCECAudioSystem::VolumeDown(void)
uint8_t CCECAudioSystem::MuteAudio(void)
{
uint8_t CCECAudioSystem::MuteAudio(void)
{
- if (
Send
Keypress(CEC_USER_CONTROL_CODE_MUTE))
-
Send
KeyRelease();
+ if (
Transmit
Keypress(CEC_USER_CONTROL_CODE_MUTE))
+
Transmit
KeyRelease();
CLockObject lock(&m_mutex);
return m_audioStatus;
CLockObject lock(&m_mutex);
return m_audioStatus;