VirtualBox

Ignore:
Timestamp:
Oct 11, 2021 5:09:51 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147395
Message:

Audio/Validation Kit: Added syntax help for the 'verify' sub command. ​bugref:10008

File:
1 edited

Legend:

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

    r91667 r91668  
    11181118}
    11191119
     1120/** Option help for the 'verify' command. */
     1121static DECLCALLBACK(const char *) audioTestCmdVerifyHelp(PCRTGETOPTDEF pOpt)
     1122{
     1123    switch (pOpt->iShort)
     1124    {
     1125        case VKAT_VERIFY_OPT_MAX_DIFF_COUNT:    return "Specifies the maximum number of differences\n"
     1126                                                       "    Default: 0 (strict)";
     1127        case VKAT_VERIFY_OPT_MAX_DIFF_PERCENT:  return "Specifies the maximum difference (percent)\n"
     1128                                                       "    Default: 0 (strict)";
     1129        case VKAT_VERIFY_OPT_MAX_SIZE_PERCENT:  return "Specifies the maximum size difference (percent)\n"
     1130                                                       "    Default: 1 (strict)";
     1131        case VKAT_VERIFY_OPT_NORMALIZE:         return "Enables / disables audio data normalization\n"
     1132                                                       "    Default: false";
     1133        default:
     1134            break;
     1135    }
     1136    return NULL;
     1137}
     1138
    11201139/**
    11211140 * Main (entry) function for the verification functionality of VKAT.
     
    12081227    g_aCmdVerifyOptions,
    12091228    RT_ELEMENTS(g_aCmdVerifyOptions),
    1210     NULL,
     1229    audioTestCmdVerifyHelp,
    12111230    false /* fNeedsTransport */
    12121231};
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