VirtualBox

Changeset 88023 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Mar 8, 2021 6:01:15 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
143151
Message:

Audio: Preparing to move some of the DrvAudio.h stuff into PDM. bugref:9890

Location:
trunk/src/VBox/Main/src-client
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DrvAudioRec.cpp

    r88022 r88023  
    940940    if (RT_SUCCESS(rc))
    941941    {
    942         pStreamAV->pCfg = DrvAudioHlpStreamCfgDup(pCfgAcq);
     942        pStreamAV->pCfg = PDMAudioStrmCfgDup(pCfgAcq);
    943943        if (!pStreamAV->pCfg)
    944944            rc = VERR_NO_MEMORY;
     
    970970    if (RT_SUCCESS(rc))
    971971    {
    972         DrvAudioHlpStreamCfgFree(pStreamAV->pCfg);
     972        PDMAudioStrmCfgFree(pStreamAV->pCfg);
    973973        pStreamAV->pCfg = NULL;
    974974    }
  • trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp

    r88022 r88023  
    437437    if (RT_SUCCESS(rc))
    438438    {
    439         pStreamVRDE->pCfg = DrvAudioHlpStreamCfgDup(pCfgAcq);
     439        pStreamVRDE->pCfg = PDMAudioStrmCfgDup(pCfgAcq);
    440440        if (!pStreamVRDE->pCfg)
    441441            rc = VERR_NO_MEMORY;
     
    468468    if (RT_SUCCESS(rc))
    469469    {
    470         DrvAudioHlpStreamCfgFree(pStreamVRDE->pCfg);
     470        PDMAudioStrmCfgFree(pStreamVRDE->pCfg);
    471471        pStreamVRDE->pCfg = NULL;
    472472    }
Note: See TracChangeset for help on using the changeset viewer.

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