VirtualBox

Changeset 90736 in vbox


Ignore:
Timestamp:
Aug 19, 2021 6:23:47 AM (3 years ago)
Author:
vboxsync
Message:

Audio/VKAT: Use 16-bit sample sizes as default when manually playing test tones. ​bugref:10008

File:
1 edited

Legend:

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

    r90723 r90736  
    589589        /* Use some sane defaults if no PCM props are set by the user. */
    590590        PDMAudioPropsInit(&ToneParms.Props,
    591                           cbSample ? cbSample : 4, true /* fSigned */, cChannels ? cChannels : 2, uHz ? uHz : 44100);
     591                          cbSample  ? cbSample  : 2 /* 16-bit */, true /* fSigned */,
     592                          cChannels ? cChannels : 2 /* Stereo */, uHz ? uHz : 44100);
    592593
    593594        ToneParms.dbFreqHz       = AudioTestToneGetRandomFreq();
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