- Timestamp:
- Nov 4, 2016 2:02:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHDA.cpp
r64573 r64574 4487 4487 4488 4488 /* Do one DMA transfer with FIFOS size at a time. */ 4489 rc2 = hdaStreamDoDMA(pThis, pStream, pvDst, cbDst,cbDst /* cbToProcess */, &cbProcessed);4489 rc2 = hdaStreamDoDMA(pThis, pStream, pvDst, (uint32_t)cbDst, (uint32_t)cbDst /* cbToProcess */, &cbProcessed); 4490 4490 AssertRC(rc2); 4491 4491 … … 4501 4501 Assert(cbDst); 4502 4502 4503 rc2 = AudioMixerSinkWrite(pSink->pMixSink, AUDMIXOP_COPY, pvSrc, cbSrc, &cbProcessed);4503 rc2 = AudioMixerSinkWrite(pSink->pMixSink, AUDMIXOP_COPY, pvSrc, (uint32_t)cbSrc, &cbProcessed); 4504 4504 AssertRC(rc2); 4505 4505 … … 4515 4515 4516 4516 /* Do one DMA transfer with FIFOS size at a time. */ 4517 rc2 = hdaStreamDoDMA(pThis, pStream, pvSrc, cbSrc,cbSrc /* cbToProcess */, &cbProcessed);4517 rc2 = hdaStreamDoDMA(pThis, pStream, pvSrc, (uint32_t)cbSrc, (uint32_t)cbSrc /* cbToProcess */, &cbProcessed); 4518 4518 AssertRC(rc2); 4519 4519 … … 4529 4529 Assert(cbDst); 4530 4530 4531 rc2 = AudioMixerSinkRead(pSink->pMixSink, AUDMIXOP_COPY, pvDst, cbDst, &cbProcessed);4531 rc2 = AudioMixerSinkRead(pSink->pMixSink, AUDMIXOP_COPY, pvDst, (uint32_t)cbDst, &cbProcessed); 4532 4532 AssertRC(rc2); 4533 4533
Note:
See TracChangeset
for help on using the changeset viewer.