Changeset 88166 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Mar 17, 2021 5:50:10 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 143315
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/HDAStream.cpp
r88164 r88166 1934 1934 { 1935 1935 idxSched += 1; 1936 if ( idxSched > pStreamShared->State.cSchedule1936 if ( idxSched >= pStreamShared->State.cSchedule 1937 1937 || idxSched >= RT_ELEMENTS(pStreamShared->State.aSchedule) /*paranoia^2*/) 1938 1938 { … … 1940 1940 AssertStmt(idxSched < RT_ELEMENTS(pStreamShared->State.aSchedule), idxSched = 0); 1941 1941 } 1942 pStreamShared->State.idxSchedule = idxSched; 1942 1943 idxLoop = 0; 1943 1944 } 1944 1945 pStreamShared->State.idxScheduleLoop = (uint16_t)idxLoop; 1945 1946 1946 /* Do the a rcual timerarming. */1947 /* Do the actual timer re-arming. */ 1947 1948 uint64_t const tsNow = PDMDevHlpTimerGet(pDevIns, pStreamShared->hTimer); /* (For virtual sync this remains the same for the whole callout IIRC) */ 1948 1949 uint64_t const tsTransferNext = tsNow + pStreamShared->State.aSchedule[idxSched].cPeriodTicks;
Note:
See TracChangeset
for help on using the changeset viewer.