- Timestamp:
- Nov 10, 2021 1:48:36 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 148170
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostAudioValidationKit.cpp
r92312 r92320 302 302 size_t const cbOutstanding = pTst->t.TestTone.u.Rec.cbToWrite - pTst->t.TestTone.u.Rec.cbWritten; 303 303 if (cbOutstanding) 304 LogRel(("ValKit: \tWarning: Recording test #%RU32 has %RU64 bytes (%RU 32ms) outstanding (%RU8%% left)\n",304 LogRel(("ValKit: \tWarning: Recording test #%RU32 has %RU64 bytes (%RU64ms) outstanding (%RU8%% left)\n", 305 305 pTst->idxTest, cbOutstanding, PDMAudioPropsBytesToMilli(&pTst->t.TestTone.Parms.Props, (uint32_t)cbOutstanding), 306 306 100 - (pTst->t.TestTone.u.Rec.cbWritten * 100) / RT_MAX(pTst->t.TestTone.u.Rec.cbToWrite, 1))); … … 322 322 size_t const cbOutstanding = pTst->t.TestTone.u.Play.cbToRead - pTst->t.TestTone.u.Play.cbRead; 323 323 if (cbOutstanding) 324 LogRel(("ValKit: \tWarning: Playback test #%RU32 has %RU64 bytes (%RU 32ms) outstanding (%RU8%% left)\n",324 LogRel(("ValKit: \tWarning: Playback test #%RU32 has %RU64 bytes (%RU64ms) outstanding (%RU8%% left)\n", 325 325 pTst->idxTest, cbOutstanding, PDMAudioPropsBytesToMilli(&pTst->t.TestTone.Parms.Props, (uint32_t)cbOutstanding), 326 326 100 - (pTst->t.TestTone.u.Play.cbRead * 100) / RT_MAX(pTst->t.TestTone.u.Play.cbToRead, 1))); … … 1104 1104 { 1105 1105 PAUDIOTESTTONEBEACON pBeacon = &pTst->t.TestTone.Beacon; 1106 1107 LogRel3(("ValKit: Test #%RU32: %RU32 bytes (%RU64ms) beacon data remaining\n", 1108 pTst->idxTest, 1109 AudioTestBeaconGetRemaining(pBeacon), 1110 PDMAudioPropsBytesToMilli(&pStream->pStream->Cfg.Props, AudioTestBeaconGetRemaining(pBeacon)))); 1111 1106 1112 if ( AudioTestBeaconGetSize(pBeacon) 1107 1113 && !AudioTestBeaconIsComplete(pBeacon)) … … 1136 1142 1137 1143 if (fStarted) 1138 LogRel2(("ValKit: Test #%RU32: Detection of %s beacon started (%RU 32ms played so far)\n",1144 LogRel2(("ValKit: Test #%RU32: Detection of %s beacon started (%RU64ms played so far)\n", 1139 1145 pTst->idxTest, AudioTestBeaconTypeGetName(pBeacon->enmType), 1140 1146 PDMAudioPropsBytesToMilli(&pStream->pStream->Cfg.Props, pThis->cbPlayedTotal))); … … 1157 1163 case AUDIOTESTSTATE_RUN: 1158 1164 { 1165 uint32_t const cbRemaining = pTst->t.TestTone.u.Play.cbToRead - pTst->t.TestTone.u.Play.cbRead; 1166 1167 LogRel3(("ValKit: Test #%RU32: %RU32 bytes (%RU64ms) audio data remaining\n", 1168 pTst->idxTest, cbRemaining, PDMAudioPropsBytesToMilli(&pStream->pStream->Cfg.Props, cbRemaining))); 1169 1159 1170 /* Whether we count all silence as recorded data or not. 1160 1171 * Currently we don't, as otherwise consequtively played tones will be cut off in the end. */ 1161 1172 if (!fIsAllSilence) 1162 1173 { 1163 uint32_t const cbRemaining = pTst->t.TestTone.u.Play.cbToRead - pTst->t.TestTone.u.Play.cbRead;1164 1165 1174 /* Don't read more than we're told to. 1166 1175 * After the actual test tone data there might come a post beacon which also
Note:
See TracChangeset
for help on using the changeset viewer.