return -1;
}
+int cec_set_hdmi_port(uint8_t iPort)
+{
+ if (cec_parser)
+ return cec_parser->SetHDMIPort(iPort) ? 1 : 0;
+ return -1;
+}
+
+int cec_volume_up(int bWait /* = 1 */)
+{
+ if (cec_parser)
+ return cec_parser->VolumeUp(bWait == 1);
+ return -1;
+}
+
+int cec_volume_down(int bWait /* = 1 */)
+{
+ if (cec_parser)
+ return cec_parser->VolumeDown(bWait == 1);
+ return -1;
+}
+
+int cec_mute_audio(int bWait /* = 1 */)
+{
+ if (cec_parser)
+ return cec_parser->MuteAudio(bWait == 1);
+ return -1;
+}
+
//@}