- Timestamp:
- Aug 15, 2016 2:03:00 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp
r63467 r63477 180 180 * @interface_method_impl{PDMIHOSTAUDIO,pfnInit} 181 181 */ 182 intdrvAudioVRDEInit(PPDMIHOSTAUDIO pInterface)182 static DECLCALLBACK(int) drvAudioVRDEInit(PPDMIHOSTAUDIO pInterface) 183 183 { 184 184 RT_NOREF(pInterface); … … 192 192 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCapture} 193 193 */ 194 intdrvAudioVRDEStreamCapture(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead)194 static DECLCALLBACK(int) drvAudioVRDEStreamCapture(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead) 195 195 { 196 196 RT_NOREF2(pvBuf, cbBuf); … … 232 232 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamPlay} 233 233 */ 234 intdrvAudioVRDEStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten)234 static DECLCALLBACK(int) drvAudioVRDEStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten) 235 235 { 236 236 RT_NOREF2(pvBuf, cbBuf); … … 337 337 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetConfig} 338 338 */ 339 intdrvAudioVRDEGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg)339 static DECLCALLBACK(int) drvAudioVRDEGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg) 340 340 { 341 341 NOREF(pInterface); … … 356 356 * @interface_method_impl{PDMIHOSTAUDIO,pfnShutdown} 357 357 */ 358 voiddrvAudioVRDEShutdown(PPDMIHOSTAUDIO pInterface)358 static DECLCALLBACK(void) drvAudioVRDEShutdown(PPDMIHOSTAUDIO pInterface) 359 359 { 360 360 PDRVAUDIOVRDE pDrv = RT_FROM_MEMBER(pInterface, DRVAUDIOVRDE, IHostAudio); … … 369 369 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetStatus} 370 370 */ 371 PDMAUDIOBACKENDSTSdrvAudioVRDEGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir)371 static DECLCALLBACK(PDMAUDIOBACKENDSTS) drvAudioVRDEGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir) 372 372 { 373 373 RT_NOREF(enmDir); … … 381 381 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCreate} 382 382 */ 383 intdrvAudioVRDEStreamCreate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq)383 static DECLCALLBACK(int) drvAudioVRDEStreamCreate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq) 384 384 { 385 385 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 401 401 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamDestroy} 402 402 */ 403 intdrvAudioVRDEStreamDestroy(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)403 static DECLCALLBACK(int) drvAudioVRDEStreamDestroy(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 404 404 { 405 405 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 419 419 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamControl} 420 420 */ 421 intdrvAudioVRDEStreamControl(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PDMAUDIOSTREAMCMD enmStreamCmd)421 static DECLCALLBACK(int) drvAudioVRDEStreamControl(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PDMAUDIOSTREAMCMD enmStreamCmd) 422 422 { 423 423 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 439 439 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamGetStatus} 440 440 */ 441 PDMAUDIOSTRMSTSdrvAudioVRDEStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)441 static DECLCALLBACK(PDMAUDIOSTRMSTS) drvAudioVRDEStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 442 442 { 443 443 NOREF(pInterface); … … 452 452 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamIterate} 453 453 */ 454 intdrvAudioVRDEStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)454 static DECLCALLBACK(int) drvAudioVRDEStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 455 455 { 456 456 AssertPtrReturn(pInterface, VERR_INVALID_POINTER);
Note:
See TracChangeset
for help on using the changeset viewer.