Changeset 91532 in vbox
- Timestamp:
- Oct 4, 2021 6:12:29 AM (3 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostAudioValidationKit.cpp
r91209 r91532 860 860 bool const fIsSilence = PDMAudioPropsIsBufferSilence(&pStream->pStream->Cfg.Props, pvBuf, cbBuf); 861 861 862 LogRel2(("ValKit: Playing stream '%s' ...\n", pStream->pStream->Cfg.szName)); 862 LogRel2(("ValKit: Playing stream '%s' (%RU32 bytes / %RU64ms -- %RU64 bytes / %RU64ms total so far) ...\n", 863 pStream->pStream->Cfg.szName, 864 cbBuf, PDMAudioPropsBytesToMilli(&pStream->pStream->Cfg.Props, cbBuf), 865 pThis->cbPlayedTotal, PDMAudioPropsBytesToMilli(&pStream->pStream->Cfg.Props, pThis->cbPlayedTotal))); 863 866 864 867 int rc = RTCritSectEnter(&pThis->CritSect); … … 882 885 if (pTst == NULL) /* Empty list? */ 883 886 { 884 LogRel2(("ValKit: Warning: Guest is playing back audio (%RU32 bytes, %RU64ms) when no playback test is active\n", 885 cbBuf, PDMAudioPropsBytesToMilli(&pStream->pStream->Cfg.Props, cbBuf))); 887 LogRel2(("ValKit: Warning: Guest is playing back audio when no playback test is active\n")); 886 888 887 889 pThis->cbPlayedNoTest += cbBuf; … … 1012 1014 PVALKITTESTDATA pTst = NULL; 1013 1015 1014 LogRel2(("ValKit: Capturing stream '%s' ...\n", pStream->pStream->Cfg.szName)); 1016 LogRel2(("ValKit: Capturing stream '%s' (%RU32 bytes / %RU64ms -- %RU64 bytes / %RU64ms total so far) ...\n", 1017 pStream->pStream->Cfg.szName, 1018 cbBuf, PDMAudioPropsBytesToMilli(&pStream->pStream->Cfg.Props, cbBuf), 1019 pThis->cbRecordedTotal, PDMAudioPropsBytesToMilli(&pStream->pStream->Cfg.Props, pThis->cbRecordedTotal))); 1015 1020 1016 1021 int rc = RTCritSectEnter(&pThis->CritSect); … … 1034 1039 if (pTst == NULL) /* Empty list? */ 1035 1040 { 1036 LogRel(("ValKit: Warning: Guest is trying to record %RU32 bytes (%RU32ms) ofaudio data when no recording test is active (%RU32 bytes available)\n",1037 cbBuf, PDMAudioPropsBytesToMilli(&pStream->pStream->Cfg.Props, cbBuf),pStrmValKit->cbAvail));1041 LogRel(("ValKit: Warning: Guest is trying to record audio data when no recording test is active (%RU32 bytes available)\n", 1042 pStrmValKit->cbAvail)); 1038 1043 1039 1044 /** @todo Not sure yet why this happens after all data has been captured sometimes, -
trunk/src/VBox/ValidationKit/utils/audio/vkatCommon.cpp
r91510 r91532 274 274 uint32_t cbBeaconPlayed = 0; 275 275 276 RTTestPrintf(g_hTest, RTTESTLVL_ DEBUG, "Playing %RU32 bytes total\n", cbToPlayTotal);276 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Playing %RU32 bytes total\n", cbToPlayTotal); 277 277 if (cbBeaconToPlay) 278 278 { 279 RTTestPrintf(g_hTest, RTTESTLVL_ DEBUG, "Playing 2 x %RU32 bytes pre/post beacons\n", cbBeaconToPlay);279 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Playing 2 x %RU32 bytes pre/post beacons\n", cbBeaconToPlay); 280 280 cbToPlayTotal += cbBeacon * 2 /* Pre + post beacon */; 281 281 }
Note:
See TracChangeset
for help on using the changeset viewer.