Changeset 88113 in vbox
- Timestamp:
- Mar 12, 2021 8:55:43 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/HDAStream.cpp
r88112 r88113 1885 1885 1886 1886 /* advance */ 1887 cbChunk -= cbBufDst;1888 GCPhys += cbBufDst;1889 cbLeft -= cbBufDst;1890 pBDLE->State.u32BufOff += cbBufDst;1887 cbChunk -= (uint32_t)cbBufDst; 1888 GCPhys += cbBufDst; 1889 cbLeft -= (uint32_t)cbBufDst; 1890 pBDLE->State.u32BufOff += (uint32_t)cbBufDst; 1891 1891 Assert(pBDLE->State.u32BufOff <= pBDLE->Desc.u32BufSize); 1892 1892 } … … 1940 1940 &pvBufDst, &cbBufDst); 1941 1941 1942 uint32_t const cFramesToConvert = PDMAudioPropsBytesToFrames(&pStreamShared->State.Cfg.Props, cbBufDst);1942 uint32_t const cFramesToConvert = PDMAudioPropsBytesToFrames(&pStreamShared->State.Cfg.Props, (uint32_t)cbBufDst); 1943 1943 Assert(PDMAudioPropsFramesToBytes(&pStreamShared->State.Cfg.Props, cFramesToConvert) == cbBufDst); 1944 1944 Assert(cFramesToConvert > 0); … … 1963 1963 1964 1964 /* advance */ 1965 cbLeft -= cbBufDst;1965 cbLeft -= (uint32_t)cbBufDst; 1966 1966 cFrames -= cFramesToConvert; 1967 1967 offBounce += PDMAudioPropsFramesToBytes(&pStreamR3->State.Mapping.GuestProps, cFramesToConvert);
Note:
See TracChangeset
for help on using the changeset viewer.