Changeset 57146 in vbox
- Timestamp:
- Jul 31, 2015 4:28:52 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostDSound.cpp
r57145 r57146 640 640 if (pDSoundStrmIn->pDSC) 641 641 { 642 IDirectSoundCapture 8_Release(pDSoundStrmIn->pDSC);642 IDirectSoundCapture_Release(pDSoundStrmIn->pDSC); 643 643 pDSoundStrmIn->pDSC = NULL; 644 644 } … … 662 662 { 663 663 LPCGUID pGUID = dsoundCaptureSelectDevice(pThis, pDSoundStrmIn); 664 hr = IDirectSoundCapture 8_Initialize(pDSoundStrmIn->pDSC, pGUID);664 hr = IDirectSoundCapture_Initialize(pDSoundStrmIn->pDSC, pGUID); 665 665 if (FAILED(hr)) 666 666 { … … 686 686 if (pDSoundStrmIn->pDSCB) 687 687 { 688 HRESULT hr = IDirectSoundCaptureBuffer 8_Stop(pDSoundStrmIn->pDSCB);688 HRESULT hr = IDirectSoundCaptureBuffer_Stop(pDSoundStrmIn->pDSCB); 689 689 if (FAILED (hr)) 690 690 { … … 735 735 bd.lpwfxFormat = &wfx; 736 736 bd.dwBufferBytes = pThis->cfg.cbBufferIn; 737 hr = IDirectSoundCapture 8_CreateCaptureBuffer(pDSoundStrmIn->pDSC,738 737 hr = IDirectSoundCapture_CreateCaptureBuffer(pDSoundStrmIn->pDSC, 738 &bd, &pDSCB, NULL); 739 739 740 740 if (FAILED(hr)) … … 746 746 747 747 hr = IDirectSoundCaptureBuffer_QueryInterface(pDSCB, IID_IDirectSoundCaptureBuffer8, (void **)&pDSCB); 748 IDirectSoundCap utreBuffer_Release(pDSCB);748 IDirectSoundCaptureBuffer_Release(pDSCB); 749 749 if (FAILED(hr)) 750 750 { … … 832 832 DSLOG(("DSound: capture stop\n")); 833 833 834 HRESULT hr = IDirectSoundCaptureBuffer 8_Stop(pDSoundStrmIn->pDSCB);834 HRESULT hr = IDirectSoundCaptureBuffer_Stop(pDSoundStrmIn->pDSCB); 835 835 if (FAILED(hr)) 836 836 { … … 1319 1319 PDRVHOSTDSOUND pThis = PDMIHOSTAUDIO_2_DRVHOSTDSOUND(pInterface); 1320 1320 PDSOUNDSTREAMIN pDSoundStrmIn = (PDSOUNDSTREAMIN)pHstStrmIn; 1321 LPDIRECTSOUNDCAPTUREBUFFER pDSCB = pDSoundStrmIn->pDSCB;1321 LPDIRECTSOUNDCAPTUREBUFFER8 pDSCB = pDSoundStrmIn->pDSCB; 1322 1322 1323 1323 int rc;
Note:
See TracChangeset
for help on using the changeset viewer.