VirtualBox

Ignore:
Timestamp:
May 6, 2021 7:55:49 PM (4 years ago)
Author:
vboxsync
Message:

Audio: Eliminated AUDMIXSINKDIR and AUDMIXSINKCMD, using PDMAUDIODIR and PDMAUDIOSTREAMCMD instead. bugref:9890

File:
1 edited

Legend:

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

    r88908 r88916  
    22262226    /* First, enable or disable the stream and the stream's sink. */
    22272227    int rc = AudioMixerSinkCtl(sb16StreamIndexToSink(pThis, pStream->uIdx),
    2228                                fEnable ? AUDMIXSINKCMD_ENABLE : AUDMIXSINKCMD_DISABLE);
     2228                               fEnable ? PDMAUDIOSTREAMCMD_ENABLE : PDMAUDIOSTREAMCMD_DISABLE);
    22292229    AssertRCReturn(rc, rc);
    22302230
     
    31483148    AssertRCReturn(rc, rc);
    31493149    rc = AudioMixerCreateSink(pThis->pMixer, "PCM Output",
    3150                               AUDMIXSINKDIR_OUTPUT, pDevIns, &pThis->pSinkOut);
     3150                              PDMAUDIODIR_OUT, pDevIns, &pThis->pSinkOut);
    31513151    AssertRCReturn(rc, rc);
    31523152
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