- Timestamp:
- Aug 15, 2016 11:25:51 AM (8 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostALSAAudio.cpp
r63395 r63467 992 992 * @interface_method_impl{PDMIHOSTAUDIO,pfnInit} 993 993 */ 994 PDMAUDIO_IHOSTAUDIO_EMIT_INIT(drvHostALSAAudio)994 int drvHostALSAAudioInit(PPDMIHOSTAUDIO pInterface) 995 995 { 996 996 NOREF(pInterface); … … 1015 1015 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCapture} 1016 1016 */ 1017 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCAPTURE(drvHostALSAAudio)1017 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMPLAY(drvHostALSAAudio)1172 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 PDMAUDIO_IHOSTAUDIO_EMIT_GETCONFIG(drvHostALSAAudio)1527 int drvHostALSAAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg) 1528 1528 { 1529 1529 NOREF(pInterface); … … 1605 1605 * @interface_method_impl{PDMIHOSTAUDIO,pfnShutdown} 1606 1606 */ 1607 PDMAUDIO_IHOSTAUDIO_EMIT_SHUTDOWN(drvHostALSAAudio)1607 void drvHostALSAAudioShutdown(PPDMIHOSTAUDIO pInterface) 1608 1608 { 1609 1609 NOREF(pInterface); … … 1614 1614 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetStatus} 1615 1615 */ 1616 PDMAUDIO _IHOSTAUDIO_EMIT_GETSTATUS(drvHostALSAAudio)1616 PDMAUDIOBACKENDSTS drvHostALSAAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir) 1617 1617 { 1618 1618 RT_NOREF(enmDir); … … 1626 1626 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCreate} 1627 1627 */ 1628 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCREATE(drvHostALSAAudio)1628 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMDESTROY(drvHostALSAAudio)1649 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCONTROL(drvHostALSAAudio)1667 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 PDMAUDIO _IHOSTAUDIO_EMIT_STREAMGETSTATUS(drvHostALSAAudio)1687 PDMAUDIOSTRMSTS drvHostALSAAudioStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 1688 1688 { 1689 1689 NOREF(pInterface); … … 1718 1718 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamIterate} 1719 1719 */ 1720 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMITERATE(drvHostALSAAudio)1720 int drvHostALSAAudioStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 1721 1721 { 1722 1722 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); -
trunk/src/VBox/Devices/Audio/DrvHostCoreAudio.cpp
r63446 r63467 2116 2116 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamPlay} 2117 2117 */ 2118 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMPLAY(drvHostCoreAudio)2118 int drvHostCoreAudioStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten) 2119 2119 { 2120 2120 RT_NOREF(pvBuf, cbBuf); /** @todo r=bird: this looks weird at first glance... */ … … 2737 2737 * @interface_method_impl{PDMIHOSTAUDIO, pfnGetConfig} 2738 2738 */ 2739 PDMAUDIO_IHOSTAUDIO_EMIT_GETCONFIG(drvHostCoreAudio)2739 int drvHostCoreAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg) 2740 2740 { 2741 2741 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 2752 2752 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamGetStatus} 2753 2753 */ 2754 PDMAUDIO _IHOSTAUDIO_EMIT_GETSTATUS(drvHostCoreAudio)2754 PDMAUDIOBACKENDSTS drvHostCoreAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir) 2755 2755 { 2756 2756 RT_NOREF(enmDir); … … 2764 2764 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamCreate} 2765 2765 */ 2766 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCREATE(drvHostCoreAudio)2766 int drvHostCoreAudioStreamCreate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq) 2767 2767 { 2768 2768 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 2788 2788 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamDestroy} 2789 2789 */ 2790 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMDESTROY(drvHostCoreAudio)2790 int drvHostCoreAudioStreamDestroy(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 2791 2791 { 2792 2792 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 2806 2806 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamControl} 2807 2807 */ 2808 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCONTROL(drvHostCoreAudio)2808 int drvHostCoreAudioStreamControl(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PDMAUDIOSTREAMCMD enmStreamCmd) 2809 2809 { 2810 2810 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 2826 2826 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamGetStatus} 2827 2827 */ 2828 PDMAUDIO _IHOSTAUDIO_EMIT_STREAMGETSTATUS(drvHostCoreAudio)2828 PDMAUDIOSTRMSTS drvHostCoreAudioStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 2829 2829 { 2830 2830 RT_NOREF(pInterface); … … 2865 2865 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamIterate} 2866 2866 */ 2867 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMITERATE(drvHostCoreAudio)2867 int drvHostCoreAudioStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 2868 2868 { 2869 2869 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 2878 2878 * @interface_method_impl{PDMIHOSTAUDIO, pfnShutdown} 2879 2879 */ 2880 PDMAUDIO_IHOSTAUDIO_EMIT_SHUTDOWN(drvHostCoreAudio)2880 void drvHostCoreAudioShutdown(PPDMIHOSTAUDIO pInterface) 2881 2881 { 2882 2882 RT_NOREF(pInterface); -
trunk/src/VBox/Devices/Audio/DrvHostDSound.cpp
r63363 r63467 1529 1529 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamPlay} 1530 1530 */ 1531 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMPLAY(drvHostDSound)1531 int drvHostDSoundStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten) 1532 1532 { 1533 1533 RT_NOREF2(pvBuf, cbBuf); … … 1782 1782 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCapture} 1783 1783 */ 1784 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCAPTURE(drvHostDSound)1784 int drvHostDSoundStreamCapture(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead) 1785 1785 { 1786 1786 RT_NOREF2(pvBuf, cbBuf); … … 1922 1922 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetConfig} 1923 1923 */ 1924 PDMAUDIO_IHOSTAUDIO_EMIT_GETCONFIG(drvHostDSound)1924 int drvHostDSoundGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg) 1925 1925 { 1926 1926 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 2049 2049 * @interface_method_impl{PDMIHOSTAUDIO,pfnShutdown} 2050 2050 */ 2051 PDMAUDIO_IHOSTAUDIO_EMIT_SHUTDOWN(drvHostDSound)2051 void drvHostDSoundShutdown(PPDMIHOSTAUDIO pInterface) 2052 2052 { 2053 2053 PDRVHOSTDSOUND pThis = PDMIHOSTAUDIO_2_DRVHOSTDSOUND(pInterface); … … 2081 2081 * @interface_method_impl{PDMIHOSTAUDIO,pfnInit} 2082 2082 */ 2083 PDMAUDIO_IHOSTAUDIO_EMIT_INIT(drvHostDSound)2083 int drvHostDSoundInit(PPDMIHOSTAUDIO pInterface) 2084 2084 { 2085 2085 PDRVHOSTDSOUND pThis = PDMIHOSTAUDIO_2_DRVHOSTDSOUND(pInterface); … … 2176 2176 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetStatus} 2177 2177 */ 2178 PDMAUDIO _IHOSTAUDIO_EMIT_GETSTATUS(drvHostDSound)2178 PDMAUDIOBACKENDSTS drvHostDSoundGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir) 2179 2179 { 2180 2180 RT_NOREF(enmDir); … … 2188 2188 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCreate} 2189 2189 */ 2190 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCREATE(drvHostDSound)2190 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMDESTROY(drvHostDSound)2212 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCONTROL(drvHostDSound)2232 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 PDMAUDIO _IHOSTAUDIO_EMIT_STREAMGETSTATUS(drvHostDSound)2254 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMITERATE(drvHostDSound)2293 int drvHostDSoundStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 2294 2294 { 2295 2295 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); -
trunk/src/VBox/Devices/Audio/DrvHostDebugAudio.cpp
r63362 r63467 75 75 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetConfig} 76 76 */ 77 PDMAUDIO_IHOSTAUDIO_EMIT_GETCONFIG(drvHostDebugAudio)77 int drvHostDebugAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg) 78 78 { 79 79 NOREF(pInterface); … … 97 97 * @interface_method_impl{PDMIHOSTAUDIO,pfnInit} 98 98 */ 99 PDMAUDIO_IHOSTAUDIO_EMIT_INIT(drvHostDebugAudio)99 int drvHostDebugAudioInit(PPDMIHOSTAUDIO pInterface) 100 100 { 101 101 NOREF(pInterface); … … 109 109 * @interface_method_impl{PDMIHOSTAUDIO,pfnShutdown} 110 110 */ 111 PDMAUDIO_IHOSTAUDIO_EMIT_SHUTDOWN(drvHostDebugAudio)111 void drvHostDebugAudioShutdown(PPDMIHOSTAUDIO pInterface) 112 112 { 113 113 NOREF(pInterface); … … 118 118 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetStatus} 119 119 */ 120 PDMAUDIO _IHOSTAUDIO_EMIT_GETSTATUS(drvHostDebugAudio)120 PDMAUDIOBACKENDSTS drvHostDebugAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir) 121 121 { 122 122 RT_NOREF(enmDir); … … 193 193 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCreate} 194 194 */ 195 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCREATE(drvHostDebugAudio)195 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMPLAY(drvHostDebugAudio)215 int drvHostDebugAudioStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten) 216 216 { 217 217 PDRVHOSTDEBUGAUDIO pDrv = RT_FROM_MEMBER(pInterface, DRVHOSTDEBUGAUDIO, IHostAudio); … … 282 282 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCapture} 283 283 */ 284 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCAPTURE(drvHostDebugAudio)284 int drvHostDebugAudioStreamCapture(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead) 285 285 { 286 286 RT_NOREF(pInterface, pStream); -
trunk/src/VBox/Devices/Audio/DrvHostNullAudio.cpp
r63363 r63467 93 93 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetConfig} 94 94 */ 95 PDMAUDIO_IHOSTAUDIO_EMIT_GETCONFIG(drvHostNullAudio)95 int drvHostNullAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg) 96 96 { 97 97 NOREF(pInterface); … … 115 115 * @interface_method_impl{PDMIHOSTAUDIO,pfnInit} 116 116 */ 117 PDMAUDIO_IHOSTAUDIO_EMIT_INIT(drvHostNullAudio)117 int drvHostNullAudioInit(PPDMIHOSTAUDIO pInterface) 118 118 { 119 119 NOREF(pInterface); … … 127 127 * @interface_method_impl{PDMIHOSTAUDIO,pfnShutdown} 128 128 */ 129 PDMAUDIO_IHOSTAUDIO_EMIT_SHUTDOWN(drvHostNullAudio)129 void drvHostNullAudioShutdown(PPDMIHOSTAUDIO pInterface) 130 130 { 131 131 RT_NOREF(pInterface); … … 136 136 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetStatus} 137 137 */ 138 PDMAUDIO _IHOSTAUDIO_EMIT_GETSTATUS(drvHostNullAudio)138 PDMAUDIOBACKENDSTS drvHostNullAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir) 139 139 { 140 140 RT_NOREF(enmDir); … … 148 148 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamPlay} 149 149 */ 150 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMPLAY(drvHostNullAudio)150 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCAPTURE(drvHostNullAudio)194 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCREATE(drvHostNullAudio)250 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMDESTROY(drvHostNullAudio)292 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCONTROL(drvHostNullAudio)310 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 PDMAUDIO _IHOSTAUDIO_EMIT_STREAMGETSTATUS(drvHostNullAudio)325 PDMAUDIOSTRMSTS drvHostNullAudioStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 326 326 { 327 327 RT_NOREF(pInterface, pStream); … … 334 334 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamIterate} 335 335 */ 336 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMITERATE(drvHostNullAudio)336 int drvHostNullAudioStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 337 337 { 338 338 NOREF(pInterface); -
trunk/src/VBox/Devices/Audio/DrvHostOSSAudio.cpp
r63370 r63467 403 403 * @interface_method_impl{PDMIHOSTAUDIO,pfnInit} 404 404 */ 405 PDMAUDIO_IHOSTAUDIO_EMIT_INIT(drvHostOSSAudio)405 int drvHostOSSAudioInit(PPDMIHOSTAUDIO pInterface) 406 406 { 407 407 RT_NOREF(pInterface); … … 416 416 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCapture} 417 417 */ 418 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCAPTURE(drvHostOSSAudio)418 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 PDMAUDIO_IHOSTAUDIO_EMIT_GETCONFIG(drvHostOSSAudio)580 int drvHostOSSAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg) 581 581 { 582 582 RT_NOREF(pInterface); … … 849 849 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamPlay} 850 850 */ 851 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMPLAY(drvHostOSSAudio)851 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 PDMAUDIO_IHOSTAUDIO_EMIT_SHUTDOWN(drvHostOSSAudio)980 void drvHostOSSAudioShutdown(PPDMIHOSTAUDIO pInterface) 981 981 { 982 982 RT_NOREF(pInterface); … … 987 987 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetStatus} 988 988 */ 989 PDMAUDIO _IHOSTAUDIO_EMIT_GETSTATUS(drvHostOSSAudio)989 PDMAUDIOBACKENDSTS drvHostOSSAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir) 990 990 { 991 991 AssertPtrReturn(pInterface, PDMAUDIOBACKENDSTS_UNKNOWN); … … 999 999 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCreate} 1000 1000 */ 1001 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCREATE(drvHostOSSAudio)1001 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMDESTROY(drvHostOSSAudio)1021 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCONTROL(drvHostOSSAudio)1039 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMITERATE(drvHostOSSAudio)1059 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 PDMAUDIO _IHOSTAUDIO_EMIT_STREAMGETSTATUS(drvHostOSSAudio)1074 PDMAUDIOSTRMSTS drvHostOSSAudioStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 1075 1075 { 1076 1076 RT_NOREF(pInterface); -
trunk/src/VBox/Devices/Audio/DrvHostPulseAudio.cpp
r63371 r63467 523 523 * @interface_method_impl{PDMIHOSTAUDIO,pfnInit} 524 524 */ 525 PDMAUDIO_IHOSTAUDIO_EMIT_INIT(drvHostPulseAudio)525 int drvHostPulseAudioInit(PPDMIHOSTAUDIO pInterface) 526 526 { 527 527 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 750 750 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCapture} 751 751 */ 752 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCAPTURE(drvHostPulseAudio)752 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMPLAY(drvHostPulseAudio)878 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 PDMAUDIO_IHOSTAUDIO_EMIT_SHUTDOWN(drvHostPulseAudio)1327 void drvHostPulseAudioShutdown(PPDMIHOSTAUDIO pInterface) 1328 1328 { 1329 1329 AssertPtrReturnVoid(pInterface); … … 1356 1356 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetConfig} 1357 1357 */ 1358 PDMAUDIO_IHOSTAUDIO_EMIT_GETCONFIG(drvHostPulseAudio)1358 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 PDMAUDIO _IHOSTAUDIO_EMIT_GETSTATUS(drvHostPulseAudio)1372 PDMAUDIOBACKENDSTS drvHostPulseAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir) 1373 1373 { 1374 1374 RT_NOREF(enmDir); … … 1382 1382 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCreate} 1383 1383 */ 1384 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCREATE(drvHostPulseAudio)1384 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMDESTROY(drvHostPulseAudio)1406 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCONTROL(drvHostPulseAudio)1426 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 PDMAUDIO _IHOSTAUDIO_EMIT_STREAMGETSTATUS(drvHostPulseAudio)1448 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMITERATE(drvHostPulseAudio)1489 int drvHostPulseAudioStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 1490 1490 { 1491 1491 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); -
trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp
r63363 r63467 180 180 * @interface_method_impl{PDMIHOSTAUDIO,pfnInit} 181 181 */ 182 PDMAUDIO_IHOSTAUDIO_EMIT_INIT(drvAudioVRDE)182 int drvAudioVRDEInit(PPDMIHOSTAUDIO pInterface) 183 183 { 184 184 RT_NOREF(pInterface); … … 192 192 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCapture} 193 193 */ 194 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCAPTURE(drvAudioVRDE)194 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMPLAY(drvAudioVRDE)234 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 PDMAUDIO_IHOSTAUDIO_EMIT_GETCONFIG(drvAudioVRDE)339 int drvAudioVRDEGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg) 340 340 { 341 341 NOREF(pInterface); … … 356 356 * @interface_method_impl{PDMIHOSTAUDIO,pfnShutdown} 357 357 */ 358 PDMAUDIO_IHOSTAUDIO_EMIT_SHUTDOWN(drvAudioVRDE)358 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 PDMAUDIO _IHOSTAUDIO_EMIT_GETSTATUS(drvAudioVRDE)371 PDMAUDIOBACKENDSTS drvAudioVRDEGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir) 372 372 { 373 373 RT_NOREF(enmDir); … … 381 381 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCreate} 382 382 */ 383 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCREATE(drvAudioVRDE)383 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMDESTROY(drvAudioVRDE)403 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 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCONTROL(drvAudioVRDE)421 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 PDMAUDIO _IHOSTAUDIO_EMIT_STREAMGETSTATUS(drvAudioVRDE)441 PDMAUDIOSTRMSTS drvAudioVRDEStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 442 442 { 443 443 NOREF(pInterface); … … 452 452 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamIterate} 453 453 */ 454 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMITERATE(drvAudioVRDE)454 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.