VirtualBox

Changeset 76989 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Jan 25, 2019 1:22:20 PM (6 years ago)
Author:
vboxsync
Message:

Audio/DrvAudio: Yet another fix for checking whether the requested configuration had pre-buffering disabled.

File:
1 edited

Legend:

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

    r76894 r76989  
    31313131                 pStream->szName, DrvAudioHlpFramesToMilli(pCfgAcq->Backend.cfPeriod, &pCfgAcq->Props), pCfgAcq->Backend.cfPeriod));
    31323132
     3133    /* Was pre-buffering requested, but the acquired configuration from the backend told us something else? */
    31333134    if (   pCfgReq->Backend.cfPreBuf
    31343135        && pCfgAcq->Backend.cfPreBuf != pCfgReq->Backend.cfPreBuf)
     
    31373138                 pStream->szName, DrvAudioHlpFramesToMilli(pCfgAcq->Backend.cfPreBuf, &pCfgAcq->Props), pCfgAcq->Backend.cfPreBuf));
    31383139    }
    3139     else
     3140    else if (pCfgReq->Backend.cfPreBuf == 0) /* Was the pre-buffering requested as being disabeld? Tell the users. */
    31403141    {
    31413142        LogRel2(("Audio: Pre-buffering is disabled for stream '%s'\n", pStream->szName));
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