repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: unload libCEC when the lib version is invalid
[deb_libcec.git]
/
src
/
lib
/
LibCEC.cpp
diff --git
a/src/lib/LibCEC.cpp
b/src/lib/LibCEC.cpp
index 0ca0188bfa0b596847beafcfdeb7622cb7b78e18..1366ff6cbcec92b6567ab0648e8a32cdeac3f87a 100644
(file)
--- a/
src/lib/LibCEC.cpp
+++ b/
src/lib/LibCEC.cpp
@@
-278,39
+278,39
@@
bool CLibCEC::IsActiveDeviceType(cec_device_type type)
return false;
}
return false;
}
-uint8_t CLibCEC::VolumeUp(bool b
Wait
/* = true */)
+uint8_t CLibCEC::VolumeUp(bool b
SendRelease
/* = true */)
{
if (m_cec)
{
if (m_cec)
- return m_cec->VolumeUp();
+ return m_cec->VolumeUp(
bSendRelease
);
return 0;
}
return 0;
}
-uint8_t CLibCEC::VolumeDown(bool b
Wait
/* = true */)
+uint8_t CLibCEC::VolumeDown(bool b
SendRelease
/* = true */)
{
if (m_cec)
{
if (m_cec)
- return m_cec->VolumeDown();
+ return m_cec->VolumeDown(
bSendRelease
);
return 0;
}
return 0;
}
-uint8_t CLibCEC::MuteAudio(bool b
Wait
/* = true */)
+uint8_t CLibCEC::MuteAudio(bool b
SendRelease
/* = true */)
{
if (m_cec)
{
if (m_cec)
- return m_cec->MuteAudio();
+ return m_cec->MuteAudio(
bSendRelease
);
return 0;
}
return 0;
}
-bool CLibCEC::SendKeypress(cec_logical_address iDestination, cec_user_control_code key, bool bWait /* =
fals
e */)
+bool CLibCEC::SendKeypress(cec_logical_address iDestination, cec_user_control_code key, bool bWait /* =
tru
e */)
{
if (m_cec)
{
if (m_cec)
- return m_cec->TransmitKeypress(iDestination, key);
+ return m_cec->TransmitKeypress(iDestination, key
, bWait
);
return false;
}
return false;
}
-bool CLibCEC::SendKeyRelease(cec_logical_address iDestination, bool bWait /* =
fals
e */)
+bool CLibCEC::SendKeyRelease(cec_logical_address iDestination, bool bWait /* =
tru
e */)
{
if (m_cec)
{
if (m_cec)
- return m_cec->TransmitKeyRelease(iDestination);
+ return m_cec->TransmitKeyRelease(iDestination
, bWait
);
return false;
}
return false;
}