VirtualBox

Changeset 89015 in vbox


Ignore:
Timestamp:
May 12, 2021 2:40:56 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
144354
Message:

Audio/ValKit: Warnings, docs. bugref:10008

File:
1 edited

Legend:

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

    r89014 r89015  
    494494}
    495495
     496/**
     497 * Creates an audio test stream.
     498 *
     499 * @returns VBox status code.
     500 * @param   pTstEnv             Test environment to use for creating the stream.
     501 * @param   pStream             Audio stream to create.
     502 * @param   pCfg                Stream configuration to use for creation.
     503 */
    496504static int audioTestStreamCreate(PAUDIOTESTENV pTstEnv, PAUDIOTESTSTREAM pStream, PPDMAUDIOSTREAMCFG pCfg)
    497505{
     
    515523}
    516524
     525/**
     526 * Destroys an audio test stream.
     527 *
     528 * @returns VBox status code.
     529 * @param   pTstEnv             Test environment the stream to destroy contains.
     530 * @param   pStream             Audio stream to destroy.
     531 */
    517532static int audioTestStreamDestroy(PAUDIOTESTENV pTstEnv, PAUDIOTESTSTREAM pStream)
    518533{
     
    520535        return VINF_SUCCESS;
    521536
    522   if (!pStream->fCreated)
     537    if (!pStream->fCreated)
    523538        return VINF_SUCCESS;
    524539
     
    532547}
    533548
     549/**
     550 * Creates an audio default output test stream.
     551 * Convenience function.
     552 *
     553 * @returns VBox status code.
     554 * @param   pTstEnv             Test environment to use for creating the stream.
     555 * @param   pStream             Audio stream to create.
     556 * @param   pProps              PCM properties to use for creation.
     557 */
    534558static int audioTestCreateStreamDefaultOut(PAUDIOTESTENV pTstEnv, PAUDIOTESTSTREAM pStream, PPDMAUDIOPCMPROPS pProps)
    535559{
     
    545569}
    546570
     571/**
     572 * Plays a test tone on a specific audio test stream.
     573 *
     574 * @returns VBox status code.
     575 * @param   pTstEnv             Test environment to use for running the test.
     576 * @param   pStream             Stream to use for playing the tone.
     577 * @param   pParms              Tone parameters to use.
     578 *
     579 * @note    Blocking function.
     580 */
    547581static int audioTestPlayTone(PAUDIOTESTENV pTstEnv, PAUDIOTESTSTREAM pStream, PAUDIOTESTTONEPARMS pParms)
    548582{
     
    629663    RT_NOREF(pvCtx);
    630664
    631     int rc;
     665    int rc = VINF_SUCCESS;
    632666
    633667    PAUDIOTESTSTREAM pStream = &pTstEnv->aStreams[0];
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