VirtualBox

Ignore:
Timestamp:
Sep 27, 2021 5:04:53 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147093
Message:

Audio/Validation Kit: Added "--tone-duration <ms>" option to specify test tone fixed durations being recorded / played back. ​bugref:10008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/audio/tdAudioTest.py

    r91212 r91413  
    114114        reporter.log('  --audio-test-count <number>');
    115115        reporter.log('      Default: 0 (means random)');
     116        reporter.log('  --audio-test-tone-duration <ms>');
     117        reporter.log('      Default: 0 (means random)');
    116118        reporter.log('  --audio-verify-max-diff-count <number>');
    117119        reporter.log('      Default: 0 (strict)');
     
    142144                        raise base.InvalidOption('The "--audio-tests" value "%s" is not valid; valid values are: %s'
    143145                                                    % (s, ' '.join(self.asTestsDef)));
    144         elif    asArgs[iArg] == '--audio-test-count':
     146        elif    asArgs[iArg] == 'audio-test-count' \
     147             or asArgs[iArg] == 'audio-test-tone-duration':
    145148            # Strip the "--audio-test-" prefix and keep the options as defined in VKAT,
    146149            # e.g. "--audio-test-count" -> "--count". That way we don't
Note: See TracChangeset for help on using the changeset viewer.

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