repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: added bWait parameter to volume change methods.
[deb_libcec.git]
/
src
/
lib
/
LibCECC.cpp
diff --git
a/src/lib/LibCECC.cpp
b/src/lib/LibCECC.cpp
index 08e69878d5a16becc392abadfc15883cefd24467..0193124e84cb07d78b78ceb5b8c0ad49a12d6e9c 100644
(file)
--- a/
src/lib/LibCECC.cpp
+++ b/
src/lib/LibCECC.cpp
@@
-271,24
+271,24
@@
int cec_set_hdmi_port(uint8_t iPort)
return -1;
}
return -1;
}
-int cec_volume_up(
void
)
+int cec_volume_up(
int bWait /* = 1 */
)
{
if (cec_parser)
{
if (cec_parser)
- return cec_parser->VolumeUp();
+ return cec_parser->VolumeUp(
bWait == 1
);
return -1;
}
return -1;
}
-int cec_volume_down(
void
)
+int cec_volume_down(
int bWait /* = 1 */
)
{
if (cec_parser)
{
if (cec_parser)
- return cec_parser->VolumeDown();
+ return cec_parser->VolumeDown(
bWait == 1
);
return -1;
}
return -1;
}
-int cec_mute_audio(
void
)
+int cec_mute_audio(
int bWait /* = 1 */
)
{
if (cec_parser)
{
if (cec_parser)
- return cec_parser->MuteAudio();
+ return cec_parser->MuteAudio(
bWait == 1
);
return -1;
}
return -1;
}