Changeset 63481 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Aug 15, 2016 2:18:29 PM (8 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostALSAAudio.cpp
r63467 r63481 992 992 * @interface_method_impl{PDMIHOSTAUDIO,pfnInit} 993 993 */ 994 intdrvHostALSAAudioInit(PPDMIHOSTAUDIO pInterface)994 static DECLCALLBACK(int) drvHostALSAAudioInit(PPDMIHOSTAUDIO pInterface) 995 995 { 996 996 NOREF(pInterface); … … 1015 1015 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCapture} 1016 1016 */ 1017 intdrvHostALSAAudioStreamCapture(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead)1017 static DECLCALLBACK(int) drvHostALSAAudioStreamCapture(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead) 1018 1018 { 1019 1019 RT_NOREF(pvBuf, cbBuf); … … 1170 1170 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamPlay} 1171 1171 */ 1172 intdrvHostALSAAudioStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten)1172 static DECLCALLBACK(int) drvHostALSAAudioStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten) 1173 1173 { 1174 1174 RT_NOREF(pvBuf, cbBuf); … … 1525 1525 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetConfig} 1526 1526 */ 1527 intdrvHostALSAAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg)1527 static DECLCALLBACK(int) drvHostALSAAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg) 1528 1528 { 1529 1529 NOREF(pInterface); … … 1605 1605 * @interface_method_impl{PDMIHOSTAUDIO,pfnShutdown} 1606 1606 */ 1607 voiddrvHostALSAAudioShutdown(PPDMIHOSTAUDIO pInterface)1607 static DECLCALLBACK(void) drvHostALSAAudioShutdown(PPDMIHOSTAUDIO pInterface) 1608 1608 { 1609 1609 NOREF(pInterface); … … 1614 1614 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetStatus} 1615 1615 */ 1616 PDMAUDIOBACKENDSTSdrvHostALSAAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir)1616 static DECLCALLBACK(PDMAUDIOBACKENDSTS) drvHostALSAAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir) 1617 1617 { 1618 1618 RT_NOREF(enmDir); … … 1626 1626 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCreate} 1627 1627 */ 1628 intdrvHostALSAAudioStreamCreate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq)1628 static DECLCALLBACK(int) drvHostALSAAudioStreamCreate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq) 1629 1629 { 1630 1630 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 1647 1647 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamDestroy} 1648 1648 */ 1649 intdrvHostALSAAudioStreamDestroy(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)1649 static DECLCALLBACK(int) drvHostALSAAudioStreamDestroy(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 1650 1650 { 1651 1651 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 1665 1665 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamControl} 1666 1666 */ 1667 intdrvHostALSAAudioStreamControl(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PDMAUDIOSTREAMCMD enmStreamCmd)1667 static DECLCALLBACK(int) drvHostALSAAudioStreamControl(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PDMAUDIOSTREAMCMD enmStreamCmd) 1668 1668 { 1669 1669 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 1685 1685 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetStatus} 1686 1686 */ 1687 PDMAUDIOSTRMSTSdrvHostALSAAudioStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)1687 static DECLCALLBACK(PDMAUDIOSTRMSTS) drvHostALSAAudioStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 1688 1688 { 1689 1689 NOREF(pInterface); … … 1718 1718 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamIterate} 1719 1719 */ 1720 intdrvHostALSAAudioStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)1720 static DECLCALLBACK(int) drvHostALSAAudioStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 1721 1721 { 1722 1722 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); -
trunk/src/VBox/Devices/Audio/DrvHostDSound.cpp
r63467 r63481 2081 2081 * @interface_method_impl{PDMIHOSTAUDIO,pfnInit} 2082 2082 */ 2083 intdrvHostDSoundInit(PPDMIHOSTAUDIO pInterface)2083 static DECLCALLBACK(int) drvHostDSoundInit(PPDMIHOSTAUDIO pInterface) 2084 2084 { 2085 2085 PDRVHOSTDSOUND pThis = PDMIHOSTAUDIO_2_DRVHOSTDSOUND(pInterface); … … 2176 2176 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetStatus} 2177 2177 */ 2178 PDMAUDIOBACKENDSTSdrvHostDSoundGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir)2178 static DECLCALLBACK(PDMAUDIOBACKENDSTS) drvHostDSoundGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir) 2179 2179 { 2180 2180 RT_NOREF(enmDir); … … 2188 2188 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCreate} 2189 2189 */ 2190 intdrvHostDSoundStreamCreate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq)2190 static DECLCALLBACK(int) drvHostDSoundStreamCreate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq) 2191 2191 { 2192 2192 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 2210 2210 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamDestroy} 2211 2211 */ 2212 intdrvHostDSoundStreamDestroy(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)2212 static DECLCALLBACK(int) drvHostDSoundStreamDestroy(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 2213 2213 { 2214 2214 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 2230 2230 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamControl} 2231 2231 */ 2232 intdrvHostDSoundStreamControl(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PDMAUDIOSTREAMCMD enmStreamCmd)2232 static DECLCALLBACK(int) drvHostDSoundStreamControl(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PDMAUDIOSTREAMCMD enmStreamCmd) 2233 2233 { 2234 2234 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 2252 2252 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamGetStatus} 2253 2253 */ 2254 PDMAUDIOSTRMSTSdrvHostDSoundStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)2254 static DECLCALLBACK(PDMAUDIOSTRMSTS) drvHostDSoundStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 2255 2255 { 2256 2256 AssertPtrReturn(pInterface, PDMAUDIOSTRMSTS_FLAG_NONE); … … 2291 2291 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamIterate} 2292 2292 */ 2293 intdrvHostDSoundStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)2293 static DECLCALLBACK(int) drvHostDSoundStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 2294 2294 { 2295 2295 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); -
trunk/src/VBox/Devices/Audio/DrvHostDebugAudio.cpp
r63468 r63481 75 75 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetConfig} 76 76 */ 77 intdrvHostDebugAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg)77 static DECLCALLBACK(int) drvHostDebugAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg) 78 78 { 79 79 NOREF(pInterface); … … 97 97 * @interface_method_impl{PDMIHOSTAUDIO,pfnInit} 98 98 */ 99 intdrvHostDebugAudioInit(PPDMIHOSTAUDIO pInterface)99 static DECLCALLBACK(int) drvHostDebugAudioInit(PPDMIHOSTAUDIO pInterface) 100 100 { 101 101 NOREF(pInterface); … … 109 109 * @interface_method_impl{PDMIHOSTAUDIO,pfnShutdown} 110 110 */ 111 voiddrvHostDebugAudioShutdown(PPDMIHOSTAUDIO pInterface)111 static DECLCALLBACK(void) drvHostDebugAudioShutdown(PPDMIHOSTAUDIO pInterface) 112 112 { 113 113 NOREF(pInterface); … … 118 118 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetStatus} 119 119 */ 120 PDMAUDIOBACKENDSTSdrvHostDebugAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir)120 static DECLCALLBACK(PDMAUDIOBACKENDSTS) drvHostDebugAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir) 121 121 { 122 122 RT_NOREF(enmDir); … … 193 193 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCreate} 194 194 */ 195 intdrvHostDebugAudioStreamCreate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq)195 static DECLCALLBACK(int) drvHostDebugAudioStreamCreate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq) 196 196 { 197 197 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 213 213 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamPlay} 214 214 */ 215 intdrvHostDebugAudioStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten)215 static DECLCALLBACK(int) drvHostDebugAudioStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten) 216 216 { 217 217 RT_NOREF(pvBuf, cbBuf); … … 284 284 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCapture} 285 285 */ 286 intdrvHostDebugAudioStreamCapture(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead)286 static DECLCALLBACK(int) drvHostDebugAudioStreamCapture(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead) 287 287 { 288 288 RT_NOREF(pInterface, pStream, pvBuf, cbBuf); -
trunk/src/VBox/Devices/Audio/DrvHostNullAudio.cpp
r63467 r63481 93 93 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetConfig} 94 94 */ 95 intdrvHostNullAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg)95 static DECLCALLBACK(int) drvHostNullAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg) 96 96 { 97 97 NOREF(pInterface); … … 115 115 * @interface_method_impl{PDMIHOSTAUDIO,pfnInit} 116 116 */ 117 intdrvHostNullAudioInit(PPDMIHOSTAUDIO pInterface)117 static DECLCALLBACK(int) drvHostNullAudioInit(PPDMIHOSTAUDIO pInterface) 118 118 { 119 119 NOREF(pInterface); … … 127 127 * @interface_method_impl{PDMIHOSTAUDIO,pfnShutdown} 128 128 */ 129 voiddrvHostNullAudioShutdown(PPDMIHOSTAUDIO pInterface)129 static DECLCALLBACK(void) drvHostNullAudioShutdown(PPDMIHOSTAUDIO pInterface) 130 130 { 131 131 RT_NOREF(pInterface); … … 136 136 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetStatus} 137 137 */ 138 PDMAUDIOBACKENDSTSdrvHostNullAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir)138 static DECLCALLBACK(PDMAUDIOBACKENDSTS) drvHostNullAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir) 139 139 { 140 140 RT_NOREF(enmDir); … … 148 148 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamPlay} 149 149 */ 150 intdrvHostNullAudioStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten)150 static DECLCALLBACK(int) drvHostNullAudioStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten) 151 151 { 152 152 RT_NOREF2(pvBuf, cbBuf); … … 192 192 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCapture} 193 193 */ 194 intdrvHostNullAudioStreamCapture(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead)194 static DECLCALLBACK(int) drvHostNullAudioStreamCapture(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead) 195 195 { 196 196 RT_NOREF4(pInterface, pStream, pvBuf, cbBuf); … … 248 248 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCreate} 249 249 */ 250 intdrvHostNullAudioStreamCreate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq)250 static DECLCALLBACK(int) drvHostNullAudioStreamCreate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq) 251 251 { 252 252 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 290 290 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamDestroy} 291 291 */ 292 intdrvHostNullAudioStreamDestroy(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)292 static DECLCALLBACK(int) drvHostNullAudioStreamDestroy(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 293 293 { 294 294 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 308 308 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamControl} 309 309 */ 310 intdrvHostNullAudioStreamControl(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PDMAUDIOSTREAMCMD enmStreamCmd)310 static DECLCALLBACK(int) drvHostNullAudioStreamControl(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PDMAUDIOSTREAMCMD enmStreamCmd) 311 311 { 312 312 RT_NOREF(enmStreamCmd); … … 323 323 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamGetStatus} 324 324 */ 325 PDMAUDIOSTRMSTSdrvHostNullAudioStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)325 static DECLCALLBACK(PDMAUDIOSTRMSTS) drvHostNullAudioStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 326 326 { 327 327 RT_NOREF(pInterface, pStream); … … 334 334 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamIterate} 335 335 */ 336 intdrvHostNullAudioStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)336 static DECLCALLBACK(int) drvHostNullAudioStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 337 337 { 338 338 NOREF(pInterface); -
trunk/src/VBox/Devices/Audio/DrvHostOSSAudio.cpp
r63467 r63481 403 403 * @interface_method_impl{PDMIHOSTAUDIO,pfnInit} 404 404 */ 405 intdrvHostOSSAudioInit(PPDMIHOSTAUDIO pInterface)405 static DECLCALLBACK(int) drvHostOSSAudioInit(PPDMIHOSTAUDIO pInterface) 406 406 { 407 407 RT_NOREF(pInterface); … … 416 416 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCapture} 417 417 */ 418 intdrvHostOSSAudioStreamCapture(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead)418 static DECLCALLBACK(int) drvHostOSSAudioStreamCapture(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead) 419 419 { 420 420 RT_NOREF(pInterface, cbBuf, pvBuf); … … 578 578 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetConfig} 579 579 */ 580 intdrvHostOSSAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg)580 static DECLCALLBACK(int) drvHostOSSAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg) 581 581 { 582 582 RT_NOREF(pInterface); … … 849 849 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamPlay} 850 850 */ 851 intdrvHostOSSAudioStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten)851 static DECLCALLBACK(int) drvHostOSSAudioStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten) 852 852 { 853 853 RT_NOREF(pInterface, cbBuf, pvBuf); … … 978 978 * @interface_method_impl{PDMIHOSTAUDIO,pfnShutdown} 979 979 */ 980 voiddrvHostOSSAudioShutdown(PPDMIHOSTAUDIO pInterface)980 static DECLCALLBACK(void) drvHostOSSAudioShutdown(PPDMIHOSTAUDIO pInterface) 981 981 { 982 982 RT_NOREF(pInterface); … … 987 987 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetStatus} 988 988 */ 989 PDMAUDIOBACKENDSTSdrvHostOSSAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir)989 static DECLCALLBACK(PDMAUDIOBACKENDSTS) drvHostOSSAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir) 990 990 { 991 991 AssertPtrReturn(pInterface, PDMAUDIOBACKENDSTS_UNKNOWN); … … 999 999 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCreate} 1000 1000 */ 1001 intdrvHostOSSAudioStreamCreate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq)1001 static DECLCALLBACK(int) drvHostOSSAudioStreamCreate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq) 1002 1002 { 1003 1003 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 1019 1019 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamDestroy} 1020 1020 */ 1021 intdrvHostOSSAudioStreamDestroy(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)1021 static DECLCALLBACK(int) drvHostOSSAudioStreamDestroy(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 1022 1022 { 1023 1023 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 1037 1037 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamControl} 1038 1038 */ 1039 intdrvHostOSSAudioStreamControl(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PDMAUDIOSTREAMCMD enmStreamCmd)1039 static DECLCALLBACK(int) drvHostOSSAudioStreamControl(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PDMAUDIOSTREAMCMD enmStreamCmd) 1040 1040 { 1041 1041 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 1057 1057 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamIterate} 1058 1058 */ 1059 intdrvHostOSSAudioStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)1059 static DECLCALLBACK(int) drvHostOSSAudioStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 1060 1060 { 1061 1061 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 1072 1072 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamGetStatus} 1073 1073 */ 1074 PDMAUDIOSTRMSTSdrvHostOSSAudioStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)1074 static DECLCALLBACK(PDMAUDIOSTRMSTS) drvHostOSSAudioStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 1075 1075 { 1076 1076 RT_NOREF(pInterface); -
trunk/src/VBox/Devices/Audio/DrvHostPulseAudio.cpp
r63467 r63481 523 523 * @interface_method_impl{PDMIHOSTAUDIO,pfnInit} 524 524 */ 525 intdrvHostPulseAudioInit(PPDMIHOSTAUDIO pInterface)525 static DECLCALLBACK(int) drvHostPulseAudioInit(PPDMIHOSTAUDIO pInterface) 526 526 { 527 527 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 750 750 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCapture} 751 751 */ 752 intdrvHostPulseAudioStreamCapture(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead)752 static DECLCALLBACK(int) drvHostPulseAudioStreamCapture(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead) 753 753 { 754 754 RT_NOREF(pvBuf, cbBuf); … … 876 876 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamPlay} 877 877 */ 878 intdrvHostPulseAudioStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten)878 static DECLCALLBACK(int) drvHostPulseAudioStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten) 879 879 { 880 880 RT_NOREF(pvBuf, cbBuf); … … 1325 1325 * @interface_method_impl{PDMIHOSTAUDIO,pfnShutdown} 1326 1326 */ 1327 voiddrvHostPulseAudioShutdown(PPDMIHOSTAUDIO pInterface)1327 static DECLCALLBACK(void) drvHostPulseAudioShutdown(PPDMIHOSTAUDIO pInterface) 1328 1328 { 1329 1329 AssertPtrReturnVoid(pInterface); … … 1356 1356 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetConfig} 1357 1357 */ 1358 intdrvHostPulseAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg)1358 static DECLCALLBACK(int) drvHostPulseAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg) 1359 1359 { 1360 1360 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 1370 1370 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetStatus} 1371 1371 */ 1372 PDMAUDIOBACKENDSTSdrvHostPulseAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir)1372 static DECLCALLBACK(PDMAUDIOBACKENDSTS) drvHostPulseAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir) 1373 1373 { 1374 1374 RT_NOREF(enmDir); … … 1382 1382 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCreate} 1383 1383 */ 1384 intdrvHostPulseAudioStreamCreate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq)1384 static DECLCALLBACK(int) drvHostPulseAudioStreamCreate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq) 1385 1385 { 1386 1386 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 1404 1404 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamDestroy} 1405 1405 */ 1406 intdrvHostPulseAudioStreamDestroy(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)1406 static DECLCALLBACK(int) drvHostPulseAudioStreamDestroy(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 1407 1407 { 1408 1408 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 1424 1424 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamControl} 1425 1425 */ 1426 intdrvHostPulseAudioStreamControl(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PDMAUDIOSTREAMCMD enmStreamCmd)1426 static DECLCALLBACK(int) drvHostPulseAudioStreamControl(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PDMAUDIOSTREAMCMD enmStreamCmd) 1427 1427 { 1428 1428 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 1446 1446 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamGetStatus} 1447 1447 */ 1448 PDMAUDIOSTRMSTSdrvHostPulseAudioStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)1448 static DECLCALLBACK(PDMAUDIOSTRMSTS) drvHostPulseAudioStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 1449 1449 { 1450 1450 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 1487 1487 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamGetConfig} 1488 1488 */ 1489 intdrvHostPulseAudioStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)1489 static DECLCALLBACK(int) drvHostPulseAudioStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 1490 1490 { 1491 1491 AssertPtrReturn(pInterface, VERR_INVALID_POINTER);
Note:
See TracChangeset
for help on using the changeset viewer.