X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftestclient%2Fmain.cpp;h=d9ad277d3e68cb4fd3deeab6fd5deafde0c81d8e;hb=9f332fe262328ff230ae4ea69004f8f2e9f61e6f;hp=671e46e94e0749e9a7228de55d3ae73a8483b7e4;hpb=7e793bdd615591495e9010282ca60d017bacfa7d;p=deb_libcec.git diff --git a/src/testclient/main.cpp b/src/testclient/main.cpp index 671e46e..d9ad277 100644 --- a/src/testclient/main.cpp +++ b/src/testclient/main.cpp @@ -599,15 +599,21 @@ int main (int argc, char *argv[]) } else if (command == "volup") { - parser->VolumeUp(); + CStdString strLog; + strLog.Format("volume up: %2X", parser->VolumeUp()); + cout << strLog.c_str() << endl; } else if (command == "voldown") { - parser->VolumeDown(); + CStdString strLog; + strLog.Format("volume up: %2X", parser->VolumeDown()); + cout << strLog.c_str() << endl; } else if (command == "mute") { - parser->MuteAudio(); + CStdString strLog; + strLog.Format("mute: %2X", parser->MuteAudio()); + cout << strLog.c_str() << endl; } else if (command == "mon") {