VirtualBox

Ignore:
Timestamp:
Apr 15, 2021 12:16:56 PM (4 years ago)
Author:
vboxsync
Message:

Audio: Merged the cbStreamOut and cbStreamIn fields in PDMAUDIOBACKENDCFG (into cbStream). Added a fFlags member to PDMAUDIOBACKENDCFG, currently must-be-zero. bugref:9890

File:
1 edited

Legend:

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

    r88455 r88534  
    181181    RT_NOREF(pInterface);
    182182
     183    /*
     184     * Fill in the config structure.
     185     */
    183186    RTStrCopy(pBackendCfg->szName, sizeof(pBackendCfg->szName), "OSS");
    184 
    185     pBackendCfg->cbStreamIn  = sizeof(OSSAUDIOSTREAM);
    186     pBackendCfg->cbStreamOut = sizeof(OSSAUDIOSTREAM);
     187    pBackendCfg->cbStream       = sizeof(OSSAUDIOSTREAM);
     188    pBackendCfg->fFlags         = 0;
     189    pBackendCfg->cMaxStreamsIn  = 0;
     190    pBackendCfg->cMaxStreamsOut = 0;
    187191
    188192    int hFile = open("/dev/dsp", O_WRONLY | O_NONBLOCK, 0);
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