Changeset 63681 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Sep 1, 2016 3:19:12 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostCoreAudio.cpp
r63562 r63681 2104 2104 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamPlay} 2105 2105 */ 2106 int drvHostCoreAudioStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten) 2106 static DECLCALLBACK(int) drvHostCoreAudioStreamPlay(PPDMIHOSTAUDIO pInterface, 2107 PPDMAUDIOSTREAM pStream, 2108 const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten) 2107 2109 { 2108 2110 RT_NOREF(pvBuf, cbBuf); /** @todo r=bird: this looks weird at first glance... */ … … 2717 2719 * @interface_method_impl{PDMIHOSTAUDIO, pfnGetConfig} 2718 2720 */ 2719 intdrvHostCoreAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg)2721 static DECLCALLBACK(int) drvHostCoreAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg) 2720 2722 { 2721 2723 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 2732 2734 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamGetStatus} 2733 2735 */ 2734 PDMAUDIOBACKENDSTSdrvHostCoreAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir)2736 static DECLCALLBACK(PDMAUDIOBACKENDSTS) drvHostCoreAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir) 2735 2737 { 2736 2738 RT_NOREF(enmDir); … … 2744 2746 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamCreate} 2745 2747 */ 2746 int drvHostCoreAudioStreamCreate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq) 2748 static DECLCALLBACK(int) drvHostCoreAudioStreamCreate(PPDMIHOSTAUDIO pInterface, 2749 PPDMAUDIOSTREAM pStream, 2750 PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq) 2747 2751 { 2748 2752 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 2768 2772 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamDestroy} 2769 2773 */ 2770 intdrvHostCoreAudioStreamDestroy(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)2774 static DECLCALLBACK(int) drvHostCoreAudioStreamDestroy(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 2771 2775 { 2772 2776 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 2786 2790 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamControl} 2787 2791 */ 2788 int drvHostCoreAudioStreamControl(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PDMAUDIOSTREAMCMD enmStreamCmd) 2792 static DECLCALLBACK(int) drvHostCoreAudioStreamControl(PPDMIHOSTAUDIO pInterface, 2793 PPDMAUDIOSTREAM pStream, PDMAUDIOSTREAMCMD enmStreamCmd) 2789 2794 { 2790 2795 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 2806 2811 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamGetStatus} 2807 2812 */ 2808 PDMAUDIOSTRMSTSdrvHostCoreAudioStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)2813 static DECLCALLBACK(PDMAUDIOSTRMSTS) drvHostCoreAudioStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 2809 2814 { 2810 2815 RT_NOREF(pInterface); … … 2845 2850 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamIterate} 2846 2851 */ 2847 intdrvHostCoreAudioStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)2852 static DECLCALLBACK(int) drvHostCoreAudioStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream) 2848 2853 { 2849 2854 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); … … 2858 2863 * @interface_method_impl{PDMIHOSTAUDIO, pfnShutdown} 2859 2864 */ 2860 voiddrvHostCoreAudioShutdown(PPDMIHOSTAUDIO pInterface)2865 static DECLCALLBACK(void) drvHostCoreAudioShutdown(PPDMIHOSTAUDIO pInterface) 2861 2866 { 2862 2867 RT_NOREF(pInterface);
Note:
See TracChangeset
for help on using the changeset viewer.