Changeset 88464 in vbox
- Timestamp:
- Apr 12, 2021 11:19:04 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmaudioifs.h
r88452 r88464 1309 1309 * should have already received the PDMAUDIOSTREAMCMD_DRAIN command prior to 1310 1310 * this. It doesn't really matter whether the returned value is 100% correct, 1311 * as long as it isn't reported as zero too early .1312 * 1313 * Shoul return zero if called on an input stream.1311 * as long as it isn't reported as zero too early (and that zero is reported). 1312 * 1313 * Is not valid on an input stream, implementions shall assert and return zero. 1314 1314 * 1315 1315 * @returns Number of pending bytes. 1316 1316 * @param pInterface Pointer to this interface. 1317 1317 * @param pStream Pointer to audio stream. 1318 * 1319 * @remarks This interface can be omitted if the backend properly implements the 1320 * drain operation, i.e. automatically disables the stream when done 1321 * draining and ignores any requests to disable the stream while doing 1322 * so (there will probably be one right after initiating draining). 1318 1323 */ 1319 1324 DECLR3CALLBACKMEMBER(uint32_t, pfnStreamGetPending, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream)); … … 1348 1353 * @param pStream Pointer to audio stream. 1349 1354 * @param pvBuf Buffer where to store read audio data. 1350 * @param uBufSize Size of the audio data buffer (see note below for unit). 1351 * @param puRead Returns number of units read. 1352 * @note The @a uBufSize and @a puRead values are in bytes for non-raw 1353 * layout streams and in frames for raw layout ones. 1355 * @param cbBuf Size of the audio data buffer in bytes. 1356 * @param pcbRead Where to return the number of bytes actually captured. 1354 1357 */ 1355 1358 DECLR3CALLBACKMEMBER(int, pfnStreamCapture, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream, 1356 void *pvBuf, uint32_t uBufSize, uint32_t *puRead));1359 void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead)); 1357 1360 1358 1361 } PDMIHOSTAUDIO;
Note:
See TracChangeset
for help on using the changeset viewer.