VirtualBox

Ignore:
Timestamp:
Nov 6, 2015 12:26:32 PM (9 years ago)
Author:
vboxsync
Message:

Audio: Introduced reference counting for guest audio streams; this should prevent that the audio connector interface is destroying streams which still are being used by other parties, e.g. the audio mixer (bugref:8054).

File:
1 edited

Legend:

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

    r57393 r58600  
    26112611    {
    26122612        case PI_INDEX:
    2613             rc = pThis->pfnOpenIn(pThis->pHDAState, "hda.in", PDMAUDIORECSOURCE_LINE_IN, pCfg);
     2613            rc = pThis->pfnCreateIn(pThis->pHDAState, "hda.in", PDMAUDIORECSOURCE_LINE_IN, pCfg);
    26142614            break;
    26152615
    26162616        case PO_INDEX:
    2617             rc = pThis->pfnOpenOut(pThis->pHDAState, "hda.out", pCfg);
     2617            rc = pThis->pfnCreateOut(pThis->pHDAState, "hda.out", pCfg);
    26182618            break;
    26192619
    26202620#ifdef VBOX_WITH_HDA_MIC_IN
    26212621        case MC_INDEX:
    2622             rc = pThis->pfnOpenIn(pThis->pHDAState, "hda.mc", PDMAUDIORECSOURCE_MIC, pCfg);
     2622            rc = pThis->pfnCreateIn(pThis->pHDAState, "hda.mc", PDMAUDIORECSOURCE_MIC, pCfg);
    26232623            break;
    26242624#endif
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