VirtualBox

Changeset 57146 in vbox


Ignore:
Timestamp:
Jul 31, 2015 4:28:52 PM (9 years ago)
Author:
vboxsync
Message:

Audio/DSound: Build fixes

File:
1 edited

Legend:

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

    r57145 r57146  
    640640    if (pDSoundStrmIn->pDSC)
    641641    {
    642         IDirectSoundCapture8_Release(pDSoundStrmIn->pDSC);
     642        IDirectSoundCapture_Release(pDSoundStrmIn->pDSC);
    643643        pDSoundStrmIn->pDSC = NULL;
    644644    }
     
    662662    {
    663663        LPCGUID pGUID = dsoundCaptureSelectDevice(pThis, pDSoundStrmIn);
    664         hr = IDirectSoundCapture8_Initialize(pDSoundStrmIn->pDSC, pGUID);
     664        hr = IDirectSoundCapture_Initialize(pDSoundStrmIn->pDSC, pGUID);
    665665        if (FAILED(hr))
    666666        {
     
    686686    if (pDSoundStrmIn->pDSCB)
    687687    {
    688         HRESULT hr = IDirectSoundCaptureBuffer8_Stop(pDSoundStrmIn->pDSCB);
     688        HRESULT hr = IDirectSoundCaptureBuffer_Stop(pDSoundStrmIn->pDSCB);
    689689        if (FAILED (hr))
    690690        {
     
    735735        bd.lpwfxFormat = &wfx;
    736736        bd.dwBufferBytes = pThis->cfg.cbBufferIn;
    737         hr = IDirectSoundCapture8_CreateCaptureBuffer(pDSoundStrmIn->pDSC,
    738                                                       &bd, &pDSCB, NULL);
     737        hr = IDirectSoundCapture_CreateCaptureBuffer(pDSoundStrmIn->pDSC,
     738                                                     &bd, &pDSCB, NULL);
    739739
    740740        if (FAILED(hr))
     
    746746
    747747        hr = IDirectSoundCaptureBuffer_QueryInterface(pDSCB, IID_IDirectSoundCaptureBuffer8, (void **)&pDSCB);
    748         IDirectSoundCaputreBuffer_Release(pDSCB);
     748        IDirectSoundCaptureBuffer_Release(pDSCB);
    749749        if (FAILED(hr))
    750750        {
     
    832832        DSLOG(("DSound: capture stop\n"));
    833833
    834         HRESULT hr = IDirectSoundCaptureBuffer8_Stop(pDSoundStrmIn->pDSCB);
     834        HRESULT hr = IDirectSoundCaptureBuffer_Stop(pDSoundStrmIn->pDSCB);
    835835        if (FAILED(hr))
    836836        {
     
    13191319    PDRVHOSTDSOUND pThis = PDMIHOSTAUDIO_2_DRVHOSTDSOUND(pInterface);
    13201320    PDSOUNDSTREAMIN pDSoundStrmIn = (PDSOUNDSTREAMIN)pHstStrmIn;
    1321     LPDIRECTSOUNDCAPTUREBUFFER pDSCB = pDSoundStrmIn->pDSCB;
     1321    LPDIRECTSOUNDCAPTUREBUFFER8 pDSCB = pDSoundStrmIn->pDSCB;
    13221322
    13231323    int rc;
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