Changeset 88984 in vbox for trunk/src/VBox/ValidationKit/utils/audio
- Timestamp:
- May 11, 2021 2:05:04 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp
r88983 r88984 29 29 * Header Files * 30 30 *********************************************************************************************************************************/ 31 #include <iprt/buildconfig.h> 31 32 #include <iprt/errcore.h> 32 33 #include <iprt/initterm.h> … … 39 40 #include <iprt/test.h> 40 41 42 #include <package-generated.h> 43 #include "product-generated.h" 44 45 #include <VBox/version.h> 41 46 #include <VBox/vmm/pdmaudioinline.h> 42 47 #include <VBox/vmm/pdmaudiohostenuminline.h> … … 324 329 { "PlayTone", false, audioTestPlayToneSetup, audioTestPlayToneExec, audioTestPlayToneDestroy } 325 330 }; 331 332 333 /** 334 * Shows the application logo. 335 * 336 * @param pStream Output stream to show logo on. 337 */ 338 void showLogo(PRTSTREAM pStream) 339 { 340 static bool s_fLogoShown = false; /* Show logo only once. */ 341 342 if (!s_fLogoShown) 343 { 344 RTStrmPrintf(pStream, VBOX_PRODUCT " VKAT (Validation Kit Audio Test) " 345 VBOX_VERSION_STRING " - r%s\n" 346 "(C) " VBOX_C_YEAR " " VBOX_VENDOR "\n" 347 "All rights reserved.\n\n", RTBldCfgRevisionStr()); 348 s_fLogoShown = true; 349 } 350 } 326 351 327 352 /** … … 972 997 return rc; 973 998 999 AssertReturn(argc > 0, false); 1000 974 1001 /* At least the operation mode must be there. */ 975 1002 if (argc < 2) … … 993 1020 case 'h': 994 1021 { 1022 showLogo(g_pStdOut); 995 1023 audioTestUsage(g_pStdOut); 996 1024 return RTEXITCODE_SUCCESS; … … 1020 1048 } 1021 1049 1050 showLogo(g_pStdOut); 1051 1022 1052 /* Get operation mode. */ 1023 1053 const char *pszMode = argv[GetState.iNext++]; /** @todo Also do it busybox-like? */
Note:
See TracChangeset
for help on using the changeset viewer.