- Timestamp:
- Nov 10, 2021 6:50:53 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioTest.cpp
r92298 r92337 2771 2771 FileA.cbSize = cbFileSizeA - FileA.offStart; 2772 2772 rc = audioTestToneVerifyBeacon(pVerJob, phTestA->enmTestType == AUDIOTESTTYPE_TESTTONE_PLAY /* fIn */, 2773 false /* fPre */, &FileA, &ToneParmsA, NULL); 2773 false /* fPre */, &FileA, &ToneParmsA, &offBeaconAbs); 2774 if (RT_SUCCESS(rc)) 2775 { 2776 /* Adjust the size of the area to compare so that it's within the pre + post beacons. */ 2777 Assert(offBeaconAbs >= FileA.offStart); 2778 FileA.cbSize = offBeaconAbs - FileA.offStart; 2779 } 2774 2780 } 2775 2781 … … 2781 2787 FileB.cbSize = cbFileSizeB - FileB.offStart; 2782 2788 rc = audioTestToneVerifyBeacon(pVerJob, phTestB->enmTestType == AUDIOTESTTYPE_TESTTONE_RECORD /* fIn */, 2783 false /* fPre */, &FileB, &ToneParmsB, NULL); 2789 false /* fPre */, &FileB, &ToneParmsB, &offBeaconAbs); 2790 if (RT_SUCCESS(rc)) 2791 { 2792 /* Adjust the size of the area to compare so that it's within the pre + post beacons. */ 2793 Assert(offBeaconAbs >= FileB.offStart); 2794 FileB.cbSize = offBeaconAbs - FileB.offStart; 2795 } 2784 2796 } 2785 2797
Note:
See TracChangeset
for help on using the changeset viewer.