- Timestamp:
- Aug 18, 2021 2:18:24 PM (3 years ago)
- Location:
- trunk/src/VBox/ValidationKit/utils/audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp
r90718 r90721 669 669 case 'e': return "Exclude the given test id from the list"; 670 670 case 'i': return "Include the given test id in the list"; 671 case VKAT_TEST_OPT_GUEST_ATS_ADDR: return "Address of guest ATS to connect to"; 672 case VKAT_TEST_OPT_GUEST_ATS_PORT: return "Port of guest ATS to connect to [6042]"; 673 case VKAT_TEST_OPT_HOST_ATS_ADDR: return "Address of host ATS to connect to"; 674 case VKAT_TEST_OPT_HOST_ATS_PORT: return "Port of host ATS to connect to [6052]"; 671 case VKAT_TEST_OPT_COUNT: return "Number of test iterations to perform for selected tests\n" 672 " Default: random number"; 673 case VKAT_TEST_OPT_DEV: return "Name of the input/output device to use\n" 674 " Default: default device"; 675 case VKAT_TEST_OPT_GUEST_ATS_ADDR: return "Address of guest ATS to connect to\n" 676 " Default: " ATS_TCP_DEF_CONNECT_GUEST_STR; 677 case VKAT_TEST_OPT_GUEST_ATS_PORT: return "Port of guest ATS to connect to (needs NAT port forwarding)\n" 678 " Default: 6042"; /* ATS_TCP_DEF_CONNECT_PORT_GUEST */ 679 case VKAT_TEST_OPT_HOST_ATS_ADDR: return "Address of host ATS to connect to\n" 680 " Default: " ATS_TCP_DEF_CONNECT_HOST_ADDR_STR; 681 case VKAT_TEST_OPT_HOST_ATS_PORT: return "Port of host ATS to connect to\n" 682 " Default: 6052"; /* ATS_TCP_DEF_BIND_PORT_VALKIT */ 675 683 case VKAT_TEST_OPT_MODE: return "Specifies the test mode to use when running the tests"; 676 684 case VKAT_TEST_OPT_NO_VERIFY: return "Skips the verification step"; 677 685 case VKAT_TEST_OPT_OUTDIR: return "Specifies the output directory to use"; 678 686 case VKAT_TEST_OPT_PAUSE: return "Not yet implemented"; 679 case VKAT_TEST_OPT_PCM_HZ: return "Specifies the PCM Hetz (Hz) rate to use [44100]"; 680 case VKAT_TEST_OPT_PCM_BIT: return "Specifies the PCM sample bits (i.e. 16) to use [16]"; 681 case VKAT_TEST_OPT_PCM_CHAN: return "Specifies the number of PCM channels to use [2]"; 682 case VKAT_TEST_OPT_PCM_SIGNED: return "Specifies whether to use signed (true) or unsigned (false) samples [true]"; 687 case VKAT_TEST_OPT_PCM_HZ: return "Specifies the PCM Hetz (Hz) rate to use\n" 688 " Default: 44100"; 689 case VKAT_TEST_OPT_PCM_BIT: return "Specifies the PCM sample bits (i.e. 16) to use\n" 690 " Default: 16"; 691 case VKAT_TEST_OPT_PCM_CHAN: return "Specifies the number of PCM channels to use\n" 692 " Default: 2"; 693 case VKAT_TEST_OPT_PCM_SIGNED: return "Specifies whether to use signed (true) or unsigned (false) samples\n" 694 " Default: true"; 683 695 case VKAT_TEST_OPT_TAG: return "Specifies the test set tag to use"; 684 696 case VKAT_TEST_OPT_TEMPDIR: return "Specifies the temporary directory to use"; … … 1155 1167 } 1156 1168 } 1157 1158 RTStrmPrintf(pStrm, "\nDefault values for an option are displayed in [] if available.\n");1159 1169 1160 1170 return RTEXITCODE_SUCCESS; -
trunk/src/VBox/ValidationKit/utils/audio/vkatCmdSelfTest.cpp
r89962 r90721 102 102 * The self-test does the following: 103 103 * - 1. a) Creates an ATS instance to emulate the guest mode ("--mode guest") 104 * at port 6042 (ATS_TCP_ GUEST_DEFAULT_PORT).104 * at port 6042 (ATS_TCP_DEF_BIND_PORT_GUEST). 105 105 * or 106 106 * b) Connect to an already existing guest ATS instance if "--guest-ats-address" is specified. 107 107 * This makes it more flexible in terms of testing / debugging. 108 108 * - 2. Uses the Validation Kit audio backend, which in turn creates an ATS instance 109 * at port 6052 (ATS_TCP_ HOST_DEFAULT_PORT).109 * at port 6052 (ATS_TCP_DEF_BIND_PORT_HOST). 110 110 * - 3. Executes a complete test run locally (e.g. without any guest (VM) involved). 111 111 */ … … 237 237 case 'e': return "Exclude the given test id from the list"; 238 238 case 'i': return "Include the given test id in the list"; 239 case VKAT_SELFTEST_OPT_GUEST_ATS_ADDR: return "Address of guest ATS to connect to"; 240 case VKAT_SELFTEST_OPT_GUEST_ATS_PORT: return "Port of guest ATS to connect to [6042]"; 241 case VKAT_SELFTEST_OPT_HOST_ATS_ADDR: return "Address of host ATS to connect to"; 242 case VKAT_SELFTEST_OPT_HOST_ATS_PORT: return "Port of host ATS to connect to [6052]"; 239 case VKAT_SELFTEST_OPT_GUEST_ATS_ADDR: return "Address of guest ATS to connect to\n" 240 " Default: 127.0.0.1; will start own guest ATS"; 241 case VKAT_SELFTEST_OPT_GUEST_ATS_PORT: return "Port of guest ATS to connect to\n" 242 " Default: 6042"; /* ATS_TCP_DEF_CONNECT_PORT_GUEST */ 243 case VKAT_SELFTEST_OPT_HOST_ATS_ADDR: return "Address of host ATS to connect to\n" 244 " Default: " ATS_TCP_DEF_CONNECT_HOST_ADDR_STR; 245 case VKAT_SELFTEST_OPT_HOST_ATS_PORT: return "Port of host ATS to connect to\n" 246 " Default: 6052"; /* ATS_TCP_DEF_BIND_PORT_VALKIT */ 243 247 default: return NULL; 244 248 }
Note:
See TracChangeset
for help on using the changeset viewer.