VirtualBox

Ignore:
Timestamp:
Jun 1, 2021 3:05:48 PM (4 years ago)
Author:
vboxsync
Message:

Audio/ValKit: Manifest writing + packing fixes. bugref:10008

File:
1 edited

Legend:

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

    r89435 r89436  
    439439              uint32_t cbToWrite     = PDMAudioPropsMilliToBytes(&pParms->Props, pParms->msDuration);
    440440
    441         AudioTestSetObjAddMetadataStr(pObj, "buffer_size_ms=%RU32", pTstEnv->cMsBufferSize);
    442         AudioTestSetObjAddMetadataStr(pObj, "prebuf_size_ms=%RU32", pTstEnv->cMsPreBuffer);
    443         AudioTestSetObjAddMetadataStr(pObj, "scheduling_hint_ms=%RU32", pTstEnv->cMsSchedulingHint);
     441        AudioTestSetObjAddMetadataStr(pObj, "buffer_size_ms=%RU32\n", pTstEnv->cMsBufferSize);
     442        AudioTestSetObjAddMetadataStr(pObj, "prebuf_size_ms=%RU32\n", pTstEnv->cMsPreBuffer);
     443        AudioTestSetObjAddMetadataStr(pObj, "scheduling_hint_ms=%RU32\n", pTstEnv->cMsSchedulingHint);
    444444
    445445        while (cbToWrite)
     
    688688static int audioTestEnvPrologue(PAUDIOTESTENV pTstEnv)
    689689{
     690    /* Close the test set first. */
     691    AudioTestSetClose(&pTstEnv->Set);
     692
    690693    /* Before destroying the test environment, pack up the test set so
    691694     * that it's ready for transmission. */
     
    694697    if (RT_SUCCESS(rc))
    695698        RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Test set packed up to '%s'\n", szFileOut);
    696 
    697     /* Clean up. */
    698     AudioTestSetClose(&pTstEnv->Set);
    699699
    700700    int rc2 = AudioTestSetWipe(&pTstEnv->Set);
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