VirtualBox

Changeset 73557 in vbox for trunk/src


Ignore:
Timestamp:
Aug 8, 2018 11:39:55 AM (6 years ago)
Author:
vboxsync
Message:

Audio/Mixer: Don't query a stream's readable size in AudioMixerSinkRead(), as the value might differ from a former call to AudioMixerSinkGetReadable(). Keep it simple.

File:
1 edited

Legend:

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

    r73556 r73557  
    10661066    else
    10671067    {
    1068         uint32_t cbToRead    = RT_MIN(cbBuf,
    1069                                       pStreamRecSource->pConn->pfnStreamGetReadable(pStreamRecSource->pConn,
    1070                                                                                     pStreamRecSource->pStream));
     1068        uint32_t cbToRead = cbBuf;
    10711069        while (cbToRead)
    10721070        {
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