Changeset 65565 in vbox for trunk/include/VBox
- Timestamp:
- Feb 1, 2017 2:11:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmaudioifs.h
r65100 r65565 441 441 } PDMAUDIOPCMPROPS, *PPDMAUDIOPCMPROPS; 442 442 443 /** Converts (audio) samples to bytes. */ 444 #define PDMAUDIOPCMPROPS_S2B(pProps, samples) ((samples) << (pProps)->cShift) 445 /** Converts bytes to (audio) samples. */ 446 #define PDMAUDIOPCMPROPS_B2S(pProps, cb) (cb >> (pProps)->cShift) 447 443 448 /** 444 449 * Audio volume parameters. … … 1168 1173 * @param pInterface Pointer to the interface structure containing the called function pointer. 1169 1174 * @param pStream Pointer to audio stream. 1170 * @param pvBuf Pointer to audio data buffer to play. Currently not used and must be NULL.1171 * @param cbBuf Size (in bytes) of audio data buffer. Currently not used and must be 0.1175 * @param pvBuf Pointer to audio data buffer to play. 1176 * @param cbBuf Size (in bytes) of audio data buffer. 1172 1177 * @param pcbWritten Returns number of bytes written. Optional. 1173 1178 */ … … 1180 1185 * @param pInterface Pointer to the interface structure containing the called function pointer. 1181 1186 * @param pStream Pointer to audio stream. 1182 * @param pvBuf Buffer where to store read audio data. Currently not used and must be NULL.1183 * @param cbBuf Size (in bytes) of buffer. Currently not used and must be 0.1187 * @param pvBuf Buffer where to store read audio data. 1188 * @param cbBuf Size (in bytes) of buffer. 1184 1189 * @param pcbRead Returns number of bytes read. Optional. 1185 1190 */
Note:
See TracChangeset
for help on using the changeset viewer.