- Timestamp:
- Oct 21, 2021 12:51:46 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/audio/vkatCommon.cpp
r91913 r91940 81 81 *********************************************************************************************************************************/ 82 82 static int audioTestStreamInit(PAUDIOTESTDRVSTACK pDrvStack, PAUDIOTESTSTREAM pStream, PDMAUDIODIR enmDir, PAUDIOTESTIOOPTS pPlayOpt); 83 static int audioTestStreamDestroy(PAUDIOTEST ENV pTstEnv, PAUDIOTESTSTREAM pStream);83 static int audioTestStreamDestroy(PAUDIOTESTDRVSTACK pDrvStack, PAUDIOTESTSTREAM pStream); 84 84 85 85 … … 380 380 * 381 381 * @returns VBox status code. 382 * @param p TstEnv Test environment the stream to destroy contains.382 * @param pDrvStack Driver stack the stream belongs to. 383 383 * @param pStream Audio stream to destroy. 384 384 */ 385 static int audioTestStreamDestroy(PAUDIOTEST ENV pTstEnv, PAUDIOTESTSTREAM pStream)385 static int audioTestStreamDestroy(PAUDIOTESTDRVSTACK pDrvStack, PAUDIOTESTSTREAM pStream) 386 386 { 387 387 AssertPtrReturn(pStream, VERR_INVALID_POINTER); … … 391 391 /** @todo Anything else to do here, e.g. test if there are left over samples or some such? */ 392 392 393 audioTestDriverStackStreamDestroy(p TstEnv->pDrvStack, pStream->pStream);393 audioTestDriverStackStreamDestroy(pDrvStack, pStream->pStream); 394 394 pStream->pStream = NULL; 395 395 pStream->pBackend = NULL; … … 965 965 } 966 966 967 int rc2 = audioTestStreamDestroy(pTstEnv , pTstStream);967 int rc2 = audioTestStreamDestroy(pTstEnv->pDrvStack, pTstStream); 968 968 if (RT_SUCCESS(rc)) 969 969 rc = rc2; … … 1013 1013 } 1014 1014 1015 int rc2 = audioTestStreamDestroy(pTstEnv , pTstStream);1015 int rc2 = audioTestStreamDestroy(pTstEnv->pDrvStack, pTstStream); 1016 1016 if (RT_SUCCESS(rc)) 1017 1017 rc = rc2; … … 1462 1462 for (unsigned i = 0; i < RT_ELEMENTS(pTstEnv->aStreams); i++) 1463 1463 { 1464 int rc2 = audioTestStreamDestroy(pTstEnv , &pTstEnv->aStreams[i]);1464 int rc2 = audioTestStreamDestroy(pTstEnv->pDrvStack, &pTstEnv->aStreams[i]); 1465 1465 if (RT_FAILURE(rc2)) 1466 1466 RTTestFailed(g_hTest, "Stream destruction for stream #%u failed with %Rrc\n", i, rc2);
Note:
See TracChangeset
for help on using the changeset viewer.