VirtualBox

Changeset 73840 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Aug 22, 2018 4:48:52 PM (6 years ago)
Author:
vboxsync
Message:

Audio/DrvHostPulseAudio: Fixed input stream creation.

File:
1 edited

Legend:

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

    r73838 r73840  
    810810    pCfgAcq->Props.cChannels   = pStreamPA->SampleSpec.channels;
    811811
    812     pCfgAcq->Backend.cfPeriod     = PDMAUDIOSTREAMCFG_B2F(pCfgAcq, pStreamPA->BufAttr.minreq);
    813     pCfgAcq->Backend.cfBufferSize = PDMAUDIOSTREAMCFG_B2F(pCfgAcq, pStreamPA->BufAttr.tlength);
    814     pCfgAcq->Backend.cfPreBuf     = PDMAUDIOSTREAMCFG_B2F(pCfgAcq, pStreamPA->BufAttr.prebuf);
     812    pCfgAcq->Backend.cfPeriod     = PDMAUDIOSTREAMCFG_B2F(pCfgAcq, pStreamPA->BufAttr.fragsize);
     813    pCfgAcq->Backend.cfBufferSize = pCfgAcq->Backend.cfBufferSize;
     814    pCfgAcq->Backend.cfPreBuf     = pCfgAcq->Backend.cfPeriod;
    815815
    816816    LogFlowFuncLeaveRC(rc);
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