Changeset 63684 in vbox
- Timestamp:
- Sep 2, 2016 9:32:13 AM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r63671 r63684 1846 1846 AUDIOMIXBUF_S2B(&pGstStream->MixBuf, cReadable))); 1847 1847 1848 uint32_t cbReadable = AUDIOMIXBUF_S2B(&pGstStream->MixBuf, cReadable); 1849 1848 1850 rc2 = RTCritSectLeave(&pThis->CritSect); 1849 1851 AssertRC(rc2); 1850 1852 1851 1853 /* Return bytes instead of audio samples. */ 1852 return AUDIOMIXBUF_S2B(&pGstStream->MixBuf, cReadable);1854 return cbReadable; 1853 1855 } 1854 1856 … … 1886 1888 AUDIOMIXBUF_S2B(&pGstStream->MixBuf, cWritable))); 1887 1889 1890 uint32_t cbWritable = AUDIOMIXBUF_S2B(&pGstStream->MixBuf, cWritable); 1891 1888 1892 rc2 = RTCritSectLeave(&pThis->CritSect); 1889 1893 AssertRC(rc2); 1890 1894 1891 1895 /* Return bytes instead of audio samples. */ 1892 return AUDIOMIXBUF_S2B(&pGstStream->MixBuf, cWritable);1896 return cbWritable; 1893 1897 } 1894 1898
Note:
See TracChangeset
for help on using the changeset viewer.

