Changeset 56649 in vbox
- Timestamp:
- Jun 26, 2015 6:55:41 AM (9 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostALSAAudio.cpp
r56648 r56649 824 824 */ 825 825 Assert(cAvail); 826 size_t cb ToRead = RT_MIN(AUDIOMIXBUF_S2B(&pHstStrmIn->MixBuf, cAvail),827 AudioMixBufFreeBytes(&pHstStrmIn->MixBuf));826 size_t cbMixFree = AudioMixBufFreeBytes(&pHstStrmIn->MixBuf); 827 size_t cbToRead = RT_MIN((size_t)AUDIOMIXBUF_S2B(&pHstStrmIn->MixBuf, cAvail), cbMixFree); 828 828 829 829 LogFlowFunc(("cbToRead=%zu, cAvail=%RI32\n", cbToRead, cAvail)); -
trunk/src/VBox/Devices/Audio/DrvHostCoreAudio.cpp
r56648 r56649 1507 1507 do 1508 1508 { 1509 size_t cbBuf = RT_MIN(AudioMixBufSizeBytes(&pHstStrmOut->MixBuf), pStreamOut->cbPCMBuf); 1509 size_t cbMixBuf = AudioMixBufSizeBytes(&pHstStrmOut->MixBuf); 1510 size_t cbBuf = RT_MIN(cbMixBuf, pStreamOut->cbPCMBuf); 1510 1511 size_t cbToRead = RT_MIN(cbBuf, RTCircBufFree(pStreamOut->pBuf)); 1511 1512 LogFlowFunc(("cbToRead=%zu\n", cbToRead));
Note:
See TracChangeset
for help on using the changeset viewer.