- Timestamp:
- Aug 16, 2018 2:35:39 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 124393
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioMixBuffer.cpp
r73529 r73714 1408 1408 1409 1409 /** 1410 * Returns the total number of frames used.1410 * Returns the total number of audio frames used. 1411 1411 * 1412 1412 * @return uint32_t … … 1417 1417 AssertPtrReturn(pMixBuf, 0); 1418 1418 return pMixBuf->cUsed; 1419 } 1420 1421 /** 1422 * Returns the total number of bytes used. 1423 * 1424 * @return uint32_t 1425 * @param pMixBuf 1426 */ 1427 uint32_t AudioMixBufUsedBytes(PPDMAUDIOMIXBUF pMixBuf) 1428 { 1429 AssertPtrReturn(pMixBuf, 0); 1430 return AUDIOMIXBUF_F2B(pMixBuf, pMixBuf->cUsed); 1419 1431 } 1420 1432 -
trunk/src/VBox/Devices/Audio/AudioMixBuffer.h
r70878 r73714 64 64 int AudioMixBufPeekMutable(PPDMAUDIOMIXBUF pMixBuf, uint32_t cFramesToRead, PPDMAUDIOFRAME *ppvSamples, uint32_t *pcFramesRead); 65 65 uint32_t AudioMixBufUsed(PPDMAUDIOMIXBUF pMixBuf); 66 uint32_t AudioMixBufUsedBytes(PPDMAUDIOMIXBUF pMixBuf); 66 67 int AudioMixBufReadAt(PPDMAUDIOMIXBUF pMixBuf, uint32_t offSamples, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead); 67 68 int AudioMixBufReadAtEx(PPDMAUDIOMIXBUF pMixBuf, PDMAUDIOMIXBUFFMT enmFmt, uint32_t offSamples, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead);
Note:
See TracChangeset
for help on using the changeset viewer.