VirtualBox

Changeset 89442 in vbox


Ignore:
Timestamp:
Jun 1, 2021 8:13:51 PM (3 years ago)
Author:
vboxsync
Message:

ValKit/AudioTest: Added some comments to the play command. bugref:10008

File:
1 edited

Legend:

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

    r89441 r89442  
    16471647
    16481648/**
    1649  * Worker for audioTestPlayOne.
     1649 * Worker for audioTestPlayOne implementing the play loop.
    16501650 */
    16511651static RTEXITCODE audioTestPlayOneInner(PAUDIOTESTDRVMIXSTREAM pMix, PAUDIOTESTWAVEFILE pWaveFile,
     
    17901790            if (RT_SUCCESS(rc))
    17911791            {
     1792                /*
     1793                 * Create a mixer wrapper.  This is just a thin wrapper if fWithMixer
     1794                 * is false, otherwise it's doing mixing, resampling and recoding.
     1795                 */
    17921796                AUDIOTESTDRVMIXSTREAM Mix;
    17931797                rc = AudioTestMixStreamInit(&Mix, &DrvStack, pStream, fWithMixer ? &WaveFile.Props : NULL, 100 /*ms*/);
     
    17981802                                  pStream->cbBackend, fWithMixer ? " mixed" : "");
    17991803
     1804                    /*
     1805                     * Enable the stream and start playing.
     1806                     */
    18001807                    rc = audioTestDriverStackStreamEnable(&DrvStack, pStream);
    18011808                    if (RT_SUCCESS(rc))
     
    18041811                        rcExit = RTMsgErrorExitFailure("Enabling the output stream failed: %Rrc", rc);
    18051812
     1813                    /*
     1814                     * Clean up.
     1815                     */
    18061816                    AudioTestMixStreamTerm(&Mix);
    18071817                }
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