Changeset 89527 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jun 6, 2021 11:07:39 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostAudioPulseAudio.cpp
r89526 r89527 1855 1855 size_t cbReadablePa = pa_stream_readable_size(pStreamPA->pStream); 1856 1856 if (cbReadablePa != (size_t)-1) 1857 cbReadable = (uint32_t)cbReadablePa; 1857 { 1858 /* As with WASAPI on windows, the peek buffer must be subtracked.*/ 1859 if (cbReadablePa >= pStreamPA->cbPeekBuf) 1860 cbReadable = (uint32_t)(cbReadablePa - pStreamPA->cbPeekBuf); 1861 else 1862 { 1863 AssertMsgFailed(("%#zx vs %#zx\n", cbReadablePa, pStreamPA->cbPeekBuf)); 1864 cbReadable = 0; 1865 } 1866 } 1858 1867 else 1859 1868 drvHstAudPaError(pThis, "pa_stream_readable_size failed on '%s'", pStreamPA->Cfg.szName);
Note:
See TracChangeset
for help on using the changeset viewer.