VirtualBox

Changeset 64574 in vbox for trunk


Ignore:
Timestamp:
Nov 4, 2016 2:02:10 PM (8 years ago)
Author:
vboxsync
Message:

Audio/HDA: windows build fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevHDA.cpp

    r64573 r64574  
    44874487
    44884488                /* 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);
    44904490                AssertRC(rc2);
    44914491
     
    45014501                Assert(cbDst);
    45024502
    4503                 rc2 = AudioMixerSinkWrite(pSink->pMixSink, AUDMIXOP_COPY, pvSrc, cbSrc, &cbProcessed);
     4503                rc2 = AudioMixerSinkWrite(pSink->pMixSink, AUDMIXOP_COPY, pvSrc, (uint32_t)cbSrc, &cbProcessed);
    45044504                AssertRC(rc2);
    45054505
     
    45154515
    45164516                /* 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);
    45184518                AssertRC(rc2);
    45194519
     
    45294529                Assert(cbDst);
    45304530
    4531                 rc2 = AudioMixerSinkRead(pSink->pMixSink, AUDMIXOP_COPY, pvDst, cbDst, &cbProcessed);
     4531                rc2 = AudioMixerSinkRead(pSink->pMixSink, AUDMIXOP_COPY, pvDst, (uint32_t)cbDst, &cbProcessed);
    45324532                AssertRC(rc2);
    45334533
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette