VirtualBox

忽略:
時間撮記:
2015-2-17 下午01:13:02 (10 年 以前)
作者:
vboxsync
訊息:

PDM/Audio: Update.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/src-client/ConsoleImpl.cpp

    r54108 r54230  
    14501450#ifdef VBOX_WITH_PDM_AUDIO_DRIVER
    14511451        if (mAudioVRDE)
    1452             mAudioVRDE->onVRDEInputIntercept(false /* fIntercept */);
     1452            mAudioVRDE->onVRDEControl(false /* fEnable */, 0 /* uFlags */);
    14531453#else
    14541454        mcAudioRefs--;
     
    15011501#ifdef VBOX_WITH_PDM_AUDIO_DRIVER
    15021502    if (mAudioVRDE)
    1503         mAudioVRDE->onVRDEInputIntercept(true /* fIntercept */);
     1503        mAudioVRDE->onVRDEControl(true /* fEnable */, 0 /* uFlags */);
    15041504#else
    15051505    ++mcAudioRefs;
     
    23802380                           (PFNRT)i_unplugCpu, 3,
    23812381                           this, pUVM, (VMCPUID)aCpu);
    2382    
     2382
    23832383        /* release the lock before a VMR3* call (EMT might wait for it, @bugref{7648})! */
    23842384        alock.release();
     
    48214821     */
    48224822    bool fResume = false;
    4823     int rc = i_suspendBeforeConfigChange(pUVM, NULL, &fResume);
    4824     if (FAILED(rc))
    4825         return rc;
     4823    HRESULT hr = i_suspendBeforeConfigChange(pUVM, NULL, &fResume);
     4824    if (FAILED(hr))
     4825        return hr;
    48264826
    48274827    /*
     
    48304830     * here to make requests from under the lock in order to serialize them.
    48314831     */
    4832     PVMREQ pReq;
    4833     int vrc = VMR3ReqCallWaitU(pUVM, 0 /*idDstCpu*/,
    4834                                (PFNRT)i_changeNetworkAttachment, 6,
    4835                                this, pUVM, pszDevice, uInstance, uLun, aNetworkAdapter);
     4832    int rc = VMR3ReqCallWaitU(pUVM, 0 /*idDstCpu*/,
     4833                              (PFNRT)i_changeNetworkAttachment, 6,
     4834                              this, pUVM, pszDevice, uInstance, uLun, aNetworkAdapter);
    48364835
    48374836    if (fResume)
    48384837        i_resumeAfterConfigChange(pUVM);
    48394838
    4840     if (RT_SUCCESS(vrc))
    4841     {
    4842         LogFlowThisFunc(("Returns S_OK\n"));
     4839    if (RT_SUCCESS(rc))
    48434840        return S_OK;
    4844     }
    48454841
    48464842    return setError(E_FAIL,
    4847                     tr("Could not change the network adaptor attachement type (%Rrc)"),
    4848                     vrc);
     4843                    tr("Could not change the network adaptor attachement type (%Rrc)"), rc);
    48494844}
    48504845
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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