VirtualBox

Changeset 87253 in vbox for trunk/src


Ignore:
Timestamp:
Jan 14, 2021 5:08:26 PM (4 years ago)
Author:
vboxsync
Message:

Audio/DrvAudio: Make sure that a stream's pre-buffering size never exceeds the stream's actual buffer size when getting reconfigured by a backend [build fix].

File:
1 edited

Legend:

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

    r87252 r87253  
    33193319            pCfgAcq->Backend.cFramesPreBuffering = pCfgAcq->Backend.cFramesBufferSize;
    33203320            LogRel2(("Audio: Pre-buffering size bigger than buffer size for stream '%s', adjusting to %RU64ms (%RU32 frames)\n",
    3321                      pStream->szName, DrvAudioHlpFramesToMilli(pCfgAcq->Backend.cFramesPreBuffering, &pCfgAcq->Props), pCfgAcq->Backend.cFramesPreBuffering,
    3322                     pCfgAcq->Backend.cFramesPreBuffering));
     3321                     pStream->szName, DrvAudioHlpFramesToMilli(pCfgAcq->Backend.cFramesPreBuffering, &pCfgAcq->Props), pCfgAcq->Backend.cFramesPreBuffering));
    33233322        }
    33243323    }
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