VirtualBox

Changeset 76702 in vbox


Ignore:
Timestamp:
Jan 8, 2019 11:46:08 AM (6 years ago)
Author:
vboxsync
Message:

Audio/DrvAudio: Allow custom buffering sizes being as big as the pre-buffering sizes.

File:
1 edited

Legend:

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

    r76699 r76702  
    30263026    if (pCfgReq->Backend.cfBufferSize < pCfgReq->Backend.cfPeriod)
    30273027    {
    3028         LogRel(("Audio: Error for stream '%s': Buffer size (%RU64ms) must not be smaller than the period size (%RU64ms)\n",
     3028        LogRel(("Audio: Error for stream '%s': Buffering size (%RU64ms) must not be smaller than the period size (%RU64ms)\n",
    30293029                pStream->szName, DrvAudioHlpFramesToMilli(pCfgReq->Backend.cfBufferSize, &pCfgReq->Props),
    30303030                DrvAudioHlpFramesToMilli(pCfgReq->Backend.cfPeriod, &pCfgReq->Props)));
     
    30353035        && pCfgReq->Backend.cfPreBuf)
    30363036    {
    3037         if (pCfgReq->Backend.cfBufferSize <= pCfgReq->Backend.cfPreBuf)
    3038         {
    3039             LogRel(("Audio: Error for stream '%s': Buffering size (%RU64ms) must not be smaller as or equal to the pre-buffering size (%RU64ms)\n",
     3037        if (pCfgReq->Backend.cfBufferSize < pCfgReq->Backend.cfPreBuf)
     3038        {
     3039            LogRel(("Audio: Error for stream '%s': Buffering size (%RU64ms) must not be smaller than the pre-buffering size (%RU64ms)\n",
    30403040                    pStream->szName, DrvAudioHlpFramesToMilli(pCfgReq->Backend.cfPreBuf, &pCfgReq->Props),
    30413041                    DrvAudioHlpFramesToMilli(pCfgReq->Backend.cfBufferSize, &pCfgReq->Props)));
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