- Timestamp:
- Aug 15, 2016 11:35:15 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmaudioifs.h
r63467 r63468 975 975 * @param pCfgAcq Pointer to acquired stream configuration. 976 976 */ 977 DECLR3CALLBACKMEMBER(int, pfnStreamCreate, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfg , uint32_t *pcSamples));977 DECLR3CALLBACKMEMBER(int, pfnStreamCreate, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq)); 978 978 979 979 /** … … 1024 1024 * @param pcbWritten Returns number of bytes written. Optional. 1025 1025 */ 1026 DECLR3CALLBACKMEMBER(int, pfnStreamPlay, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, uint32_t *pcSamplesPlayed));1026 DECLR3CALLBACKMEMBER(int, pfnStreamPlay, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten)); 1027 1027 1028 1028 /** … … 1036 1036 * @param pcbRead Returns number of bytes read. Optional. 1037 1037 */ 1038 DECLR3CALLBACKMEMBER(int, pfnStreamCapture, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, uint32_t *pcSamplesCaptured));1038 DECLR3CALLBACKMEMBER(int, pfnStreamCapture, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead)); 1039 1039 1040 1040 } PDMIHOSTAUDIO; -
trunk/src/VBox/Devices/Audio/DrvHostDebugAudio.cpp
r63467 r63468 215 215 int drvHostDebugAudioStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten) 216 216 { 217 RT_NOREF(pvBuf, cbBuf); 218 217 219 PDRVHOSTDEBUGAUDIO pDrv = RT_FROM_MEMBER(pInterface, DRVHOSTDEBUGAUDIO, IHostAudio); 218 220 PDEBUGAUDIOSTREAM pDbgStream = (PDEBUGAUDIOSTREAM)pStream; … … 284 286 int drvHostDebugAudioStreamCapture(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead) 285 287 { 286 RT_NOREF(pInterface, pStream );288 RT_NOREF(pInterface, pStream, pvBuf, cbBuf); 287 289 288 290 /* Never capture anything. */
Note:
See TracChangeset
for help on using the changeset viewer.