VirtualBox

Changeset 89507 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 4, 2021 12:12:37 PM (4 years ago)
Author:
vboxsync
Message:

ValKit/AudioTest: Automatically enable mixer for 'play' too when the audio properties doesn't match. bugref:10008

File:
1 edited

Legend:

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

    r89501 r89507  
    19511951            if (RT_SUCCESS(rc))
    19521952            {
     1953                /*
     1954                 * Automatically enable the mixer if the wave file and the
     1955                 * output parameters doesn't match.
     1956                 */
     1957                if (   !fWithMixer
     1958                    && !PDMAudioPropsAreEqual(&WaveFile.Props, &pStream->Cfg.Props))
     1959                {
     1960                    RTMsgInfo("Enabling the mixer buffer.\n");
     1961                    fWithMixer = true;
     1962                }
     1963
    19531964                /*
    19541965                 * Create a mixer wrapper.  This is just a thin wrapper if fWithMixer
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