VirtualBox

Changeset 73556 in vbox for trunk/src


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

Audio/Mixer: Make sure to always set the read bytes value on success in AudioMixerSinkRead().

File:
1 edited

Legend:

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

    r73529 r73556  
    11121112            AssertRC(rc2);
    11131113#endif
    1114             if (pcbRead)
    1115                 *pcbRead = cbRead;
    11161114        }
    11171115    }
     
    11221120    RTStrFree(pszStatus);
    11231121#endif
     1122
     1123    if (pcbRead)
     1124        *pcbRead = cbRead;
    11241125
    11251126    int rc2 = RTCritSectLeave(&pSink->CritSect);
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