VirtualBox

Ignore:
Timestamp:
Aug 15, 2016 11:25:51 AM (8 years ago)
Author:
vboxsync
Message:

Audio: Partly reverted r110001 (no use of function macros anymore).

File:
1 edited

Legend:

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

    r63362 r63467  
    7575 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetConfig}
    7676 */
    77 PDMAUDIO_IHOSTAUDIO_EMIT_GETCONFIG(drvHostDebugAudio)
     77int drvHostDebugAudioGetConfig(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDCFG pBackendCfg)
    7878{
    7979    NOREF(pInterface);
     
    9797 * @interface_method_impl{PDMIHOSTAUDIO,pfnInit}
    9898 */
    99 PDMAUDIO_IHOSTAUDIO_EMIT_INIT(drvHostDebugAudio)
     99int drvHostDebugAudioInit(PPDMIHOSTAUDIO pInterface)
    100100{
    101101    NOREF(pInterface);
     
    109109 * @interface_method_impl{PDMIHOSTAUDIO,pfnShutdown}
    110110 */
    111 PDMAUDIO_IHOSTAUDIO_EMIT_SHUTDOWN(drvHostDebugAudio)
     111void drvHostDebugAudioShutdown(PPDMIHOSTAUDIO pInterface)
    112112{
    113113    NOREF(pInterface);
     
    118118 * @interface_method_impl{PDMIHOSTAUDIO,pfnGetStatus}
    119119 */
    120 PDMAUDIO_IHOSTAUDIO_EMIT_GETSTATUS(drvHostDebugAudio)
     120PDMAUDIOBACKENDSTS drvHostDebugAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir)
    121121{
    122122    RT_NOREF(enmDir);
     
    193193 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCreate}
    194194 */
    195 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCREATE(drvHostDebugAudio)
     195int drvHostDebugAudioStreamCreate(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq)
    196196{
    197197    AssertPtrReturn(pInterface, VERR_INVALID_POINTER);
     
    213213 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamPlay}
    214214 */
    215 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMPLAY(drvHostDebugAudio)
     215int drvHostDebugAudioStreamPlay(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten)
    216216{
    217217    PDRVHOSTDEBUGAUDIO pDrv       = RT_FROM_MEMBER(pInterface, DRVHOSTDEBUGAUDIO, IHostAudio);
     
    282282 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCapture}
    283283 */
    284 PDMAUDIO_IHOSTAUDIO_EMIT_STREAMCAPTURE(drvHostDebugAudio)
     284int drvHostDebugAudioStreamCapture(PPDMIHOSTAUDIO pInterface, PPDMAUDIOSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead)
    285285{
    286286    RT_NOREF(pInterface, pStream);
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