VirtualBox

Changeset 63681 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Sep 1, 2016 3:19:12 PM (8 years ago)
Author:
vboxsync
Message:

Audio/DrvHostCoreAudio.cpp: Added missing static DECLCALLBACK decorations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DrvHostCoreAudio.cpp

    r63562 r63681  
    21042104 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamPlay}
    21052105 */
    2106 int drvHostCoreAudioStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten)
     2106static DECLCALLBACK(int) drvHostCoreAudioStreamPlay(PPDMIHOSTAUDIO pInterface,
     2107                                                    PPDMAUDIOSTREAM pStream,
     2108                                                    const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten)
    21072109{
    21082110    RT_NOREF(pvBuf, cbBuf); /** @todo r=bird: this looks weird at first glance... */
     
    27172719 * @interface_method_impl{PDMIHOSTAUDIO, pfnGetConfig}
    27182720 */
    2719 int drvHostCoreAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg)
     2721static DECLCALLBACK(int) drvHostCoreAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg)
    27202722{
    27212723    AssertPtrReturn(pInterface,  VERR_INVALID_POINTER);
     
    27322734 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamGetStatus}
    27332735 */
    2734 PDMAUDIOBACKENDSTS drvHostCoreAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir)
     2736static DECLCALLBACK(PDMAUDIOBACKENDSTS) drvHostCoreAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir)
    27352737{
    27362738    RT_NOREF(enmDir);
     
    27442746 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamCreate}
    27452747 */
    2746 int drvHostCoreAudioStreamCreate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq)
     2748static DECLCALLBACK(int) drvHostCoreAudioStreamCreate(PPDMIHOSTAUDIO pInterface,
     2749                                                      PPDMAUDIOSTREAM pStream,
     2750                                                      PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq)
    27472751{
    27482752    AssertPtrReturn(pInterface, VERR_INVALID_POINTER);
     
    27682772 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamDestroy}
    27692773 */
    2770 int drvHostCoreAudioStreamDestroy(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)
     2774static DECLCALLBACK(int) drvHostCoreAudioStreamDestroy(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)
    27712775{
    27722776    AssertPtrReturn(pInterface, VERR_INVALID_POINTER);
     
    27862790 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamControl}
    27872791 */
    2788 int drvHostCoreAudioStreamControl(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PDMAUDIOSTREAMCMD enmStreamCmd)
     2792static DECLCALLBACK(int) drvHostCoreAudioStreamControl(PPDMIHOSTAUDIO pInterface,
     2793                                                       PPDMAUDIOSTREAM pStream, PDMAUDIOSTREAMCMD enmStreamCmd)
    27892794{
    27902795    AssertPtrReturn(pInterface, VERR_INVALID_POINTER);
     
    28062811 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamGetStatus}
    28072812 */
    2808 PDMAUDIOSTRMSTS drvHostCoreAudioStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)
     2813static DECLCALLBACK(PDMAUDIOSTRMSTS) drvHostCoreAudioStreamGetStatus(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)
    28092814{
    28102815    RT_NOREF(pInterface);
     
    28452850 * @interface_method_impl{PDMIHOSTAUDIO, pfnStreamIterate}
    28462851 */
    2847 int drvHostCoreAudioStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)
     2852static DECLCALLBACK(int) drvHostCoreAudioStreamIterate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream)
    28482853{
    28492854    AssertPtrReturn(pInterface, VERR_INVALID_POINTER);
     
    28582863 * @interface_method_impl{PDMIHOSTAUDIO, pfnShutdown}
    28592864 */
    2860 void drvHostCoreAudioShutdown(PPDMIHOSTAUDIO pInterface)
     2865static DECLCALLBACK(void) drvHostCoreAudioShutdown(PPDMIHOSTAUDIO pInterface)
    28612866{
    28622867    RT_NOREF(pInterface);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette