- Timestamp:
- Jul 21, 2017 10:17:32 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmaudioifs.h
r68076 r68077 285 285 * interleaved / non-interleaved layouts. */ 286 286 PDMAUDIOSTREAMLAYOUT_COMPLEX, 287 /** Raw (pass through) data, with no data layout processing done. */ 287 /** Raw (pass through) data, with no data layout processing done. 288 * 289 * This means that this stream will operate on PDMAUDIOSAMPLE data 290 * directly. Don't use this if you don't have to. */ 288 291 PDMAUDIOSTREAMLAYOUT_RAW, 289 292 /** Hack to blow the type up to 32-bit. */ … … 1177 1180 1178 1181 /** 1179 * Returns the number of bytes which are readable from the audio (input) stream. 1180 * 1181 * @returns Number of readable bytes. 1182 * Returns the amount which is readable from the audio (input) stream. 1183 * 1184 * @returns For non-raw layout streams: Number of readable bytes. 1185 * for raw layout streams : Number of readable audio samples. 1182 1186 * @param pInterface Pointer to the interface structure containing the called function pointer. 1183 1187 * @param pStream Pointer to audio stream. … … 1186 1190 1187 1191 /** 1188 * Returns the number of bytes which are writable to the audio (output) stream. 1189 * 1190 * @returns Number of writable bytes. 1192 * Returns the amount which is writable to the audio (output) stream. 1193 * 1194 * @returns For non-raw layout streams: Number of writable bytes. 1195 * for raw layout streams : Number of writable audio samples. 1191 1196 * @param pInterface Pointer to the interface structure containing the called function pointer. 1192 1197 * @param pStream Pointer to audio stream. … … 1227 1232 * @param pStream Pointer to audio stream. 1228 1233 * @param pvBuf Pointer to audio data buffer to play. 1229 * @param cbBuf Size (in bytes) of audio data buffer. 1230 * @param pcbWritten Returns number of bytes written. Optional. 1231 */ 1232 DECLR3CALLBACKMEMBER(int, pfnStreamPlay, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten)); 1234 * @param cxBuf For non-raw layout streams: Size (in bytes) of audio data buffer, 1235 * for raw layout streams : Size (in audio samples) of audio data buffer. 1236 * @param pcxWritten For non-raw layout streams: Returns number of bytes written. Optional. 1237 * for raw layout streams : Returns number of samples written. Optional. 1238 */ 1239 DECLR3CALLBACKMEMBER(int, pfnStreamPlay, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream, const void *pvBuf, uint32_t cxBuf, uint32_t *pcxWritten)); 1233 1240 1234 1241 /** … … 1255 1262 * @param pStream Pointer to audio stream. 1256 1263 * @param pvBuf Buffer where to store read audio data. 1257 * @param cbBuf Size (in bytes) of buffer. 1258 * @param pcbRead Returns number of bytes read. Optional. 1259 */ 1260 DECLR3CALLBACKMEMBER(int, pfnStreamCapture, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead)); 1264 * @param cxBuf For non-raw layout streams: Size (in bytes) of audio data buffer, 1265 * for raw layout streams : Size (in audio samples) of audio data buffer. 1266 * @param pcxRead For non-raw layout streams: Returns number of bytes read. Optional. 1267 * for raw layout streams : Returns number of samples read. Optional. 1268 */ 1269 DECLR3CALLBACKMEMBER(int, pfnStreamCapture, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream, void *pvBuf, uint32_t cxBuf, uint32_t *pcxRead)); 1261 1270 1262 1271 /**
Note:
See TracChangeset
for help on using the changeset viewer.