VirtualBox

Changeset 90721 in vbox for trunk/src


Ignore:
Timestamp:
Aug 18, 2021 2:18:24 PM (3 years ago)
Author:
vboxsync
Message:

Audio/VKAT: Brought syntax help up-to-date. ​bugref:10008

Location:
trunk/src/VBox/ValidationKit/utils/audio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp

    r90718 r90721  
    669669        case 'e':                          return "Exclude the given test id from the list";
    670670        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 */
    675683        case VKAT_TEST_OPT_MODE:           return "Specifies the test mode to use when running the tests";
    676684        case VKAT_TEST_OPT_NO_VERIFY:      return "Skips the verification step";
    677685        case VKAT_TEST_OPT_OUTDIR:         return "Specifies the output directory to use";
    678686        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";
    683695        case VKAT_TEST_OPT_TAG:            return "Specifies the test set tag to use";
    684696        case VKAT_TEST_OPT_TEMPDIR:        return "Specifies the temporary directory to use";
     
    11551167        }
    11561168    }
    1157 
    1158     RTStrmPrintf(pStrm, "\nDefault values for an option are displayed in [] if available.\n");
    11591169
    11601170    return RTEXITCODE_SUCCESS;
  • trunk/src/VBox/ValidationKit/utils/audio/vkatCmdSelfTest.cpp

    r89962 r90721  
    102102     * The self-test does the following:
    103103     * - 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).
    105105     *      or
    106106     *      b) Connect to an already existing guest ATS instance if "--guest-ats-address" is specified.
    107107     *      This makes it more flexible in terms of testing / debugging.
    108108     * - 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).
    110110     * - 3. Executes a complete test run locally (e.g. without any guest (VM) involved).
    111111     */
     
    237237        case 'e':                              return "Exclude the given test id from the list";
    238238        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 */
    243247        default:  return NULL;
    244248    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette