VirtualBox

Changeset 88761 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 29, 2021 1:00:32 AM (4 years ago)
Author:
vboxsync
Message:

DrvAudio: Working on support for asynchronous stream backend init and smoother device switch. bugref:9890

Location:
trunk/src/VBox
Files:
11 edited

Legend:

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

    r88760 r88761  
    36443644            DRVAUDIOPLAYSTATE const enmPlayState = pStreamEx->Out.enmPlayState;
    36453645            pStreamEx->Out.enmPlayState = DRVAUDIOPLAYSTATE_PREBUF;
    3646             LogFunc(("%s: %s -> %s\n", pStreamEx->Core.szName,
    3647                      drvAudioPlayStateName(enmPlayState), drvAudioPlayStateName(pStreamEx->Out.enmPlayState) ));
     3646            LogFunc(("%s: %s -> %s\n", pStreamEx->Core.szName, drvAudioPlayStateName(enmPlayState),
     3647                     drvAudioPlayStateName(pStreamEx->Out.enmPlayState) )); RT_NOREF(enmPlayState);
    36483648        }
    36493649    }
     
    37833783    AssertPtrReturn(pHostDrvAudio->pfnStreamCreate, VERR_INVALID_POINTER);
    37843784    AssertPtrReturn(pHostDrvAudio->pfnStreamDestroy, VERR_INVALID_POINTER);
     3785    AssertPtrNullReturn(pHostDrvAudio->pfnStreamNotifyDeviceChanged, VERR_INVALID_POINTER);
    37853786    AssertPtrReturn(pHostDrvAudio->pfnStreamControl, VERR_INVALID_POINTER);
    37863787    AssertPtrReturn(pHostDrvAudio->pfnStreamGetReadable, VERR_INVALID_POINTER);
  • trunk/src/VBox/Devices/Audio/DrvHostAudioAlsa.cpp

    r88724 r88761  
    14051405    pDrvIns->IBase.pfnQueryInterface = drvHostAlsaAudioQueryInterface;
    14061406    /* IHostAudio */
    1407     pThis->IHostAudio.pfnGetConfig          = drvHostAlsaAudioHA_GetConfig;
    1408     pThis->IHostAudio.pfnGetDevices         = drvHostAlsaAudioHA_GetDevices;
    1409     pThis->IHostAudio.pfnGetStatus          = drvHostAlsaAudioHA_GetStatus;
    1410     pThis->IHostAudio.pfnStreamCreate       = drvHostAlsaAudioHA_StreamCreate;
    1411     pThis->IHostAudio.pfnStreamDestroy      = drvHostAlsaAudioHA_StreamDestroy;
    1412     pThis->IHostAudio.pfnStreamControl      = drvHostAlsaAudioHA_StreamControl;
    1413     pThis->IHostAudio.pfnStreamGetReadable  = drvHostAlsaAudioHA_StreamGetReadable;
    1414     pThis->IHostAudio.pfnStreamGetWritable  = drvHostAlsaAudioHA_StreamGetWritable;
    1415     pThis->IHostAudio.pfnStreamGetPending   = drvHostAlsaAudioHA_StreamGetPending;
    1416     pThis->IHostAudio.pfnStreamGetStatus    = drvHostAlsaAudioHA_StreamGetStatus;
    1417     pThis->IHostAudio.pfnStreamPlay         = drvHostAlsaAudioHA_StreamPlay;
    1418     pThis->IHostAudio.pfnStreamCapture      = drvHostAlsaAudioHA_StreamCapture;
     1407    pThis->IHostAudio.pfnGetConfig                  = drvHostAlsaAudioHA_GetConfig;
     1408    pThis->IHostAudio.pfnGetDevices                 = drvHostAlsaAudioHA_GetDevices;
     1409    pThis->IHostAudio.pfnGetStatus                  = drvHostAlsaAudioHA_GetStatus;
     1410    pThis->IHostAudio.pfnStreamCreate               = drvHostAlsaAudioHA_StreamCreate;
     1411    pThis->IHostAudio.pfnStreamDestroy              = drvHostAlsaAudioHA_StreamDestroy;
     1412    pThis->IHostAudio.pfnStreamNotifyDeviceChanged  = NULL;
     1413    pThis->IHostAudio.pfnStreamControl              = drvHostAlsaAudioHA_StreamControl;
     1414    pThis->IHostAudio.pfnStreamGetReadable          = drvHostAlsaAudioHA_StreamGetReadable;
     1415    pThis->IHostAudio.pfnStreamGetWritable          = drvHostAlsaAudioHA_StreamGetWritable;
     1416    pThis->IHostAudio.pfnStreamGetPending           = drvHostAlsaAudioHA_StreamGetPending;
     1417    pThis->IHostAudio.pfnStreamGetStatus            = drvHostAlsaAudioHA_StreamGetStatus;
     1418    pThis->IHostAudio.pfnStreamPlay                 = drvHostAlsaAudioHA_StreamPlay;
     1419    pThis->IHostAudio.pfnStreamCapture              = drvHostAlsaAudioHA_StreamCapture;
    14191420
    14201421    /*
  • trunk/src/VBox/Devices/Audio/DrvHostAudioCoreAudio.cpp

    r88724 r88761  
    25452545    pDrvIns->IBase.pfnQueryInterface = drvHostCoreAudioQueryInterface;
    25462546    /* IHostAudio */
    2547     pThis->IHostAudio.pfnGetConfig          = drvHostCoreAudioHA_GetConfig;
    2548     pThis->IHostAudio.pfnGetStatus          = drvHostCoreAudioHA_GetStatus;
    2549     pThis->IHostAudio.pfnStreamCreate       = drvHostCoreAudioHA_StreamCreate;
    2550     pThis->IHostAudio.pfnStreamDestroy      = drvHostCoreAudioHA_StreamDestroy;
    2551     pThis->IHostAudio.pfnStreamControl      = drvHostCoreAudioHA_StreamControl;
    2552     pThis->IHostAudio.pfnStreamGetReadable  = drvHostCoreAudioHA_StreamGetReadable;
    2553     pThis->IHostAudio.pfnStreamGetWritable  = drvHostCoreAudioHA_StreamGetWritable;
    2554     pThis->IHostAudio.pfnStreamGetStatus    = drvHostCoreAudioHA_StreamGetStatus;
    2555     pThis->IHostAudio.pfnStreamPlay         = drvHostCoreAudioHA_StreamPlay;
    2556     pThis->IHostAudio.pfnStreamCapture      = drvHostCoreAudioHA_StreamCapture;
    2557     pThis->IHostAudio.pfnGetDevices         = drvHostCoreAudioHA_GetDevices;
    2558     pThis->IHostAudio.pfnStreamGetPending   = NULL;
     2547    pThis->IHostAudio.pfnGetConfig                  = drvHostCoreAudioHA_GetConfig;
     2548    pThis->IHostAudio.pfnGetStatus                  = drvHostCoreAudioHA_GetStatus;
     2549    pThis->IHostAudio.pfnStreamCreate               = drvHostCoreAudioHA_StreamCreate;
     2550    pThis->IHostAudio.pfnStreamDestroy              = drvHostCoreAudioHA_StreamDestroy;
     2551    pThis->IHostAudio.pfnStreamNotifyDeviceChanged  = NULL;
     2552    pThis->IHostAudio.pfnStreamControl              = drvHostCoreAudioHA_StreamControl;
     2553    pThis->IHostAudio.pfnStreamGetReadable          = drvHostCoreAudioHA_StreamGetReadable;
     2554    pThis->IHostAudio.pfnStreamGetWritable          = drvHostCoreAudioHA_StreamGetWritable;
     2555    pThis->IHostAudio.pfnStreamGetPending           = NULL;
     2556    pThis->IHostAudio.pfnStreamGetStatus            = drvHostCoreAudioHA_StreamGetStatus;
     2557    pThis->IHostAudio.pfnStreamPlay                 = drvHostCoreAudioHA_StreamPlay;
     2558    pThis->IHostAudio.pfnStreamCapture              = drvHostCoreAudioHA_StreamCapture;
     2559    pThis->IHostAudio.pfnGetDevices                 = drvHostCoreAudioHA_GetDevices;
    25592560
    25602561    int rc = RTCritSectInit(&pThis->CritSect);
  • trunk/src/VBox/Devices/Audio/DrvHostAudioDSound.cpp

    r88724 r88761  
    27582758    pDrvIns->IBase.pfnQueryInterface = drvHostDSoundQueryInterface;
    27592759    /* IHostAudio */
    2760     pThis->IHostAudio.pfnGetConfig          = drvHostDSoundHA_GetConfig;
    2761     pThis->IHostAudio.pfnGetDevices         = drvHostDSoundHA_GetDevices;
    2762     pThis->IHostAudio.pfnGetStatus          = drvHostDSoundHA_GetStatus;
    2763     pThis->IHostAudio.pfnStreamCreate       = drvHostDSoundHA_StreamCreate;
    2764     pThis->IHostAudio.pfnStreamDestroy      = drvHostDSoundHA_StreamDestroy;
    2765     pThis->IHostAudio.pfnStreamControl      = drvHostDSoundHA_StreamControl;
    2766     pThis->IHostAudio.pfnStreamGetReadable  = drvHostDSoundHA_StreamGetReadable;
    2767     pThis->IHostAudio.pfnStreamGetWritable  = drvHostDSoundHA_StreamGetWritable;
    2768     pThis->IHostAudio.pfnStreamGetPending   = NULL;
    2769     pThis->IHostAudio.pfnStreamGetStatus    = drvHostDSoundHA_StreamGetStatus;
    2770     pThis->IHostAudio.pfnStreamPlay         = drvHostDSoundHA_StreamPlay;
    2771     pThis->IHostAudio.pfnStreamCapture      = drvHostDSoundHA_StreamCapture;
     2760    pThis->IHostAudio.pfnGetConfig                  = drvHostDSoundHA_GetConfig;
     2761    pThis->IHostAudio.pfnGetDevices                 = drvHostDSoundHA_GetDevices;
     2762    pThis->IHostAudio.pfnGetStatus                  = drvHostDSoundHA_GetStatus;
     2763    pThis->IHostAudio.pfnStreamCreate               = drvHostDSoundHA_StreamCreate;
     2764    pThis->IHostAudio.pfnStreamDestroy              = drvHostDSoundHA_StreamDestroy;
     2765    pThis->IHostAudio.pfnStreamNotifyDeviceChanged  = NULL;
     2766    pThis->IHostAudio.pfnStreamControl              = drvHostDSoundHA_StreamControl;
     2767    pThis->IHostAudio.pfnStreamGetReadable          = drvHostDSoundHA_StreamGetReadable;
     2768    pThis->IHostAudio.pfnStreamGetWritable          = drvHostDSoundHA_StreamGetWritable;
     2769    pThis->IHostAudio.pfnStreamGetPending           = NULL;
     2770    pThis->IHostAudio.pfnStreamGetStatus            = drvHostDSoundHA_StreamGetStatus;
     2771    pThis->IHostAudio.pfnStreamPlay                 = drvHostDSoundHA_StreamPlay;
     2772    pThis->IHostAudio.pfnStreamCapture              = drvHostDSoundHA_StreamCapture;
    27722773
    27732774    /*
  • trunk/src/VBox/Devices/Audio/DrvHostAudioDebug.cpp

    r88724 r88761  
    435435    pDrvIns->IBase.pfnQueryInterface = drvHostDebugAudioQueryInterface;
    436436    /* IHostAudio */
    437     pThis->IHostAudio.pfnGetConfig          = drvHostDebugAudioHA_GetConfig;
    438     pThis->IHostAudio.pfnGetDevices         = NULL;
    439     pThis->IHostAudio.pfnGetStatus          = drvHostDebugAudioHA_GetStatus;
    440     pThis->IHostAudio.pfnStreamCreate       = drvHostDebugAudioHA_StreamCreate;
    441     pThis->IHostAudio.pfnStreamDestroy      = drvHostDebugAudioHA_StreamDestroy;
    442     pThis->IHostAudio.pfnStreamControl      = drvHostDebugAudioHA_StreamControl;
    443     pThis->IHostAudio.pfnStreamGetReadable  = drvHostDebugAudioHA_StreamGetReadable;
    444     pThis->IHostAudio.pfnStreamGetWritable  = drvHostDebugAudioHA_StreamGetWritable;
    445     pThis->IHostAudio.pfnStreamGetPending   = drvHostDebugAudioHA_StreamGetPending;
    446     pThis->IHostAudio.pfnStreamGetStatus    = drvHostDebugAudioHA_StreamGetStatus;
    447     pThis->IHostAudio.pfnStreamPlay         = drvHostDebugAudioHA_StreamPlay;
    448     pThis->IHostAudio.pfnStreamCapture      = drvHostDebugAudioHA_StreamCapture;
     437    pThis->IHostAudio.pfnGetConfig                  = drvHostDebugAudioHA_GetConfig;
     438    pThis->IHostAudio.pfnGetDevices                 = NULL;
     439    pThis->IHostAudio.pfnGetStatus                  = drvHostDebugAudioHA_GetStatus;
     440    pThis->IHostAudio.pfnStreamCreate               = drvHostDebugAudioHA_StreamCreate;
     441    pThis->IHostAudio.pfnStreamDestroy              = drvHostDebugAudioHA_StreamDestroy;
     442    pThis->IHostAudio.pfnStreamNotifyDeviceChanged  = NULL;
     443    pThis->IHostAudio.pfnStreamControl              = drvHostDebugAudioHA_StreamControl;
     444    pThis->IHostAudio.pfnStreamGetReadable          = drvHostDebugAudioHA_StreamGetReadable;
     445    pThis->IHostAudio.pfnStreamGetWritable          = drvHostDebugAudioHA_StreamGetWritable;
     446    pThis->IHostAudio.pfnStreamGetPending           = drvHostDebugAudioHA_StreamGetPending;
     447    pThis->IHostAudio.pfnStreamGetStatus            = drvHostDebugAudioHA_StreamGetStatus;
     448    pThis->IHostAudio.pfnStreamPlay                 = drvHostDebugAudioHA_StreamPlay;
     449    pThis->IHostAudio.pfnStreamCapture              = drvHostDebugAudioHA_StreamCapture;
    449450
    450451#ifdef VBOX_AUDIO_DEBUG_DUMP_PCM_DATA
  • trunk/src/VBox/Devices/Audio/DrvHostAudioOss.cpp

    r88724 r88761  
    858858    pDrvIns->IBase.pfnQueryInterface = drvHostOSSAudioQueryInterface;
    859859    /* IHostAudio */
    860     pThis->IHostAudio.pfnGetConfig          = drvHostOssAudioHA_GetConfig;
    861     pThis->IHostAudio.pfnGetDevices         = NULL;
    862     pThis->IHostAudio.pfnGetStatus          = drvHostOssAudioHA_GetStatus;
    863     pThis->IHostAudio.pfnStreamCreate       = drvHostOssAudioHA_StreamCreate;
    864     pThis->IHostAudio.pfnStreamDestroy      = drvHostOssAudioHA_StreamDestroy;
    865     pThis->IHostAudio.pfnStreamControl      = drvHostOssAudioHA_StreamControl;
    866     pThis->IHostAudio.pfnStreamGetReadable  = drvHostOssAudioHA_StreamGetReadable;
    867     pThis->IHostAudio.pfnStreamGetWritable  = drvHostOssAudioHA_StreamGetWritable;
    868     pThis->IHostAudio.pfnStreamGetStatus    = drvHostOssAudioHA_StreamGetStatus;
    869     pThis->IHostAudio.pfnStreamPlay         = drvHostOssAudioHA_StreamPlay;
    870     pThis->IHostAudio.pfnStreamCapture      = drvHostOssAudioHA_StreamCapture;
    871     pThis->IHostAudio.pfnStreamGetPending   = NULL;
     860    pThis->IHostAudio.pfnGetConfig                  = drvHostOssAudioHA_GetConfig;
     861    pThis->IHostAudio.pfnGetDevices                 = NULL;
     862    pThis->IHostAudio.pfnGetStatus                  = drvHostOssAudioHA_GetStatus;
     863    pThis->IHostAudio.pfnStreamCreate               = drvHostOssAudioHA_StreamCreate;
     864    pThis->IHostAudio.pfnStreamDestroy              = drvHostOssAudioHA_StreamDestroy;
     865    pThis->IHostAudio.pfnStreamNotifyDeviceChanged  = NULL;
     866    pThis->IHostAudio.pfnStreamControl              = drvHostOssAudioHA_StreamControl;
     867    pThis->IHostAudio.pfnStreamGetReadable          = drvHostOssAudioHA_StreamGetReadable;
     868    pThis->IHostAudio.pfnStreamGetWritable          = drvHostOssAudioHA_StreamGetWritable;
     869    pThis->IHostAudio.pfnStreamGetPending           = NULL;
     870    pThis->IHostAudio.pfnStreamGetStatus            = drvHostOssAudioHA_StreamGetStatus;
     871    pThis->IHostAudio.pfnStreamPlay                 = drvHostOssAudioHA_StreamPlay;
     872    pThis->IHostAudio.pfnStreamCapture              = drvHostOssAudioHA_StreamCapture;
    872873
    873874    return VINF_SUCCESS;
  • trunk/src/VBox/Devices/Audio/DrvHostAudioPulseAudio.cpp

    r88724 r88761  
    19121912    pDrvIns->IBase.pfnQueryInterface = drvHostAudioPaQueryInterface;
    19131913    /* IHostAudio */
    1914     pThis->IHostAudio.pfnGetConfig          = drvHostAudioPaHA_GetConfig;
    1915     pThis->IHostAudio.pfnGetDevices         = drvHostAudioPaHA_GetDevices;
    1916     pThis->IHostAudio.pfnGetStatus          = drvHostAudioPaHA_GetStatus;
    1917     pThis->IHostAudio.pfnStreamCreate       = drvHostAudioPaHA_StreamCreate;
    1918     pThis->IHostAudio.pfnStreamDestroy      = drvHostAudioPaHA_StreamDestroy;
    1919     pThis->IHostAudio.pfnStreamControl      = drvHostAudioPaHA_StreamControl;
    1920     pThis->IHostAudio.pfnStreamGetReadable  = drvHostAudioPaHA_StreamGetReadable;
    1921     pThis->IHostAudio.pfnStreamGetWritable  = drvHostAudioPaHA_StreamGetWritable;
    1922     pThis->IHostAudio.pfnStreamGetPending   = NULL;
    1923     pThis->IHostAudio.pfnStreamGetStatus    = drvHostAudioPaHA_StreamGetStatus;
    1924     pThis->IHostAudio.pfnStreamPlay         = drvHostAudioPaHA_StreamPlay;
    1925     pThis->IHostAudio.pfnStreamCapture      = drvHostAudioPaHA_StreamCapture;
     1914    pThis->IHostAudio.pfnGetConfig                  = drvHostAudioPaHA_GetConfig;
     1915    pThis->IHostAudio.pfnGetDevices                 = drvHostAudioPaHA_GetDevices;
     1916    pThis->IHostAudio.pfnGetStatus                  = drvHostAudioPaHA_GetStatus;
     1917    pThis->IHostAudio.pfnStreamCreate               = drvHostAudioPaHA_StreamCreate;
     1918    pThis->IHostAudio.pfnStreamDestroy              = drvHostAudioPaHA_StreamDestroy;
     1919    pThis->IHostAudio.pfnStreamNotifyDeviceChanged  = NULL;
     1920    pThis->IHostAudio.pfnStreamControl              = drvHostAudioPaHA_StreamControl;
     1921    pThis->IHostAudio.pfnStreamGetReadable          = drvHostAudioPaHA_StreamGetReadable;
     1922    pThis->IHostAudio.pfnStreamGetWritable          = drvHostAudioPaHA_StreamGetWritable;
     1923    pThis->IHostAudio.pfnStreamGetPending           = NULL;
     1924    pThis->IHostAudio.pfnStreamGetStatus            = drvHostAudioPaHA_StreamGetStatus;
     1925    pThis->IHostAudio.pfnStreamPlay                 = drvHostAudioPaHA_StreamPlay;
     1926    pThis->IHostAudio.pfnStreamCapture              = drvHostAudioPaHA_StreamCapture;
    19261927
    19271928    /*
  • trunk/src/VBox/Devices/Audio/DrvHostAudioValidationKit.cpp

    r88724 r88761  
    432432    pDrvIns->IBase.pfnQueryInterface = drvHostValKitAudioQueryInterface;
    433433    /* IHostAudio */
    434     pThis->IHostAudio.pfnGetConfig          = drvHostValKitAudioHA_GetConfig;
    435     pThis->IHostAudio.pfnGetDevices         = NULL;
    436     pThis->IHostAudio.pfnGetStatus          = drvHostValKitAudioHA_GetStatus;
    437     pThis->IHostAudio.pfnStreamCreate       = drvHostValKitAudioHA_StreamCreate;
    438     pThis->IHostAudio.pfnStreamDestroy      = drvHostValKitAudioHA_StreamDestroy;
    439     pThis->IHostAudio.pfnStreamControl      = drvHostValKitAudioHA_StreamControl;
    440     pThis->IHostAudio.pfnStreamGetReadable  = drvHostValKitAudioHA_StreamGetReadable;
    441     pThis->IHostAudio.pfnStreamGetWritable  = drvHostValKitAudioHA_StreamGetWritable;
    442     pThis->IHostAudio.pfnStreamGetPending   = NULL;
    443     pThis->IHostAudio.pfnStreamGetStatus    = drvHostValKitAudioHA_StreamGetStatus;
    444     pThis->IHostAudio.pfnStreamPlay         = drvHostValKitAudioHA_StreamPlay;
    445     pThis->IHostAudio.pfnStreamCapture      = drvHostValKitAudioHA_StreamCapture;
     434    pThis->IHostAudio.pfnGetConfig                  = drvHostValKitAudioHA_GetConfig;
     435    pThis->IHostAudio.pfnGetDevices                 = NULL;
     436    pThis->IHostAudio.pfnGetStatus                  = drvHostValKitAudioHA_GetStatus;
     437    pThis->IHostAudio.pfnStreamCreate               = drvHostValKitAudioHA_StreamCreate;
     438    pThis->IHostAudio.pfnStreamDestroy              = drvHostValKitAudioHA_StreamDestroy;
     439    pThis->IHostAudio.pfnStreamNotifyDeviceChanged  = NULL;
     440    pThis->IHostAudio.pfnStreamControl              = drvHostValKitAudioHA_StreamControl;
     441    pThis->IHostAudio.pfnStreamGetReadable          = drvHostValKitAudioHA_StreamGetReadable;
     442    pThis->IHostAudio.pfnStreamGetWritable          = drvHostValKitAudioHA_StreamGetWritable;
     443    pThis->IHostAudio.pfnStreamGetPending           = NULL;
     444    pThis->IHostAudio.pfnStreamGetStatus            = drvHostValKitAudioHA_StreamGetStatus;
     445    pThis->IHostAudio.pfnStreamPlay                 = drvHostValKitAudioHA_StreamPlay;
     446    pThis->IHostAudio.pfnStreamCapture              = drvHostValKitAudioHA_StreamCapture;
    446447
    447448    return VINF_SUCCESS;
  • trunk/src/VBox/Devices/Audio/DrvHostAudioWasApi.cpp

    r88724 r88761  
    25062506    pDrvIns->IBase.pfnQueryInterface        = drvHostAudioWasQueryInterface;
    25072507    /* IHostAudio */
    2508     pThis->IHostAudio.pfnGetConfig          = drvHostAudioWasHA_GetConfig;
    2509     pThis->IHostAudio.pfnGetDevices         = drvHostAudioWasHA_GetDevices;
    2510     pThis->IHostAudio.pfnGetStatus          = drvHostAudioWasHA_GetStatus;
    2511     pThis->IHostAudio.pfnStreamConfigHint   = drvHostAudioWasHA_StreamConfigHint;
    2512     pThis->IHostAudio.pfnStreamCreate       = drvHostAudioWasHA_StreamCreate;
    2513     pThis->IHostAudio.pfnStreamDestroy      = drvHostAudioWasHA_StreamDestroy;
    2514     pThis->IHostAudio.pfnStreamControl      = drvHostAudioWasHA_StreamControl;
    2515     pThis->IHostAudio.pfnStreamGetReadable  = drvHostAudioWasHA_StreamGetReadable;
    2516     pThis->IHostAudio.pfnStreamGetWritable  = drvHostAudioWasHA_StreamGetWritable;
    2517     pThis->IHostAudio.pfnStreamGetPending   = drvHostAudioWasHA_StreamGetPending;
    2518     pThis->IHostAudio.pfnStreamGetStatus    = drvHostAudioWasHA_StreamGetStatus;
    2519     pThis->IHostAudio.pfnStreamPlay         = drvHostAudioWasHA_StreamPlay;
    2520     pThis->IHostAudio.pfnStreamCapture      = drvHostAudioWasHA_StreamCapture;
     2508    pThis->IHostAudio.pfnGetConfig                  = drvHostAudioWasHA_GetConfig;
     2509    pThis->IHostAudio.pfnGetDevices                 = drvHostAudioWasHA_GetDevices;
     2510    pThis->IHostAudio.pfnGetStatus                  = drvHostAudioWasHA_GetStatus;
     2511    pThis->IHostAudio.pfnStreamConfigHint           = drvHostAudioWasHA_StreamConfigHint;
     2512    pThis->IHostAudio.pfnStreamCreate               = drvHostAudioWasHA_StreamCreate;
     2513    pThis->IHostAudio.pfnStreamDestroy              = drvHostAudioWasHA_StreamDestroy;
     2514    pThis->IHostAudio.pfnStreamNotifyDeviceChanged  = NULL;
     2515    pThis->IHostAudio.pfnStreamControl              = drvHostAudioWasHA_StreamControl;
     2516    pThis->IHostAudio.pfnStreamGetReadable          = drvHostAudioWasHA_StreamGetReadable;
     2517    pThis->IHostAudio.pfnStreamGetWritable          = drvHostAudioWasHA_StreamGetWritable;
     2518    pThis->IHostAudio.pfnStreamGetPending           = drvHostAudioWasHA_StreamGetPending;
     2519    pThis->IHostAudio.pfnStreamGetStatus            = drvHostAudioWasHA_StreamGetStatus;
     2520    pThis->IHostAudio.pfnStreamPlay                 = drvHostAudioWasHA_StreamPlay;
     2521    pThis->IHostAudio.pfnStreamCapture              = drvHostAudioWasHA_StreamCapture;
    25212522
    25222523    /*
  • trunk/src/VBox/Main/src-client/DrvAudioRec.cpp

    r88724 r88761  
    10991099    pDrvIns->IBase.pfnQueryInterface = drvAudioVideoRecQueryInterface;
    11001100    /* IHostAudio */
    1101     pThis->IHostAudio.pfnGetConfig          = drvAudioVideoRecHA_GetConfig;
    1102     pThis->IHostAudio.pfnGetDevices         = NULL;
    1103     pThis->IHostAudio.pfnGetStatus          = drvAudioVideoRecHA_GetStatus;
    1104     pThis->IHostAudio.pfnStreamCreate       = drvAudioVideoRecHA_StreamCreate;
    1105     pThis->IHostAudio.pfnStreamDestroy      = drvAudioVideoRecHA_StreamDestroy;
    1106     pThis->IHostAudio.pfnStreamControl      = drvAudioVideoRecHA_StreamControl;
    1107     pThis->IHostAudio.pfnStreamGetReadable  = drvAudioVideoRecHA_StreamGetReadable;
    1108     pThis->IHostAudio.pfnStreamGetWritable  = drvAudioVideoRecHA_StreamGetWritable;
    1109     pThis->IHostAudio.pfnStreamGetPending   = NULL;
    1110     pThis->IHostAudio.pfnStreamGetStatus    = drvAudioVideoRecHA_StreamGetStatus;
    1111     pThis->IHostAudio.pfnStreamPlay         = drvAudioVideoRecHA_StreamPlay;
    1112     pThis->IHostAudio.pfnStreamCapture      = drvAudioVideoRecHA_StreamCapture;
     1101    pThis->IHostAudio.pfnGetConfig                  = drvAudioVideoRecHA_GetConfig;
     1102    pThis->IHostAudio.pfnGetDevices                 = NULL;
     1103    pThis->IHostAudio.pfnGetStatus                  = drvAudioVideoRecHA_GetStatus;
     1104    pThis->IHostAudio.pfnStreamCreate               = drvAudioVideoRecHA_StreamCreate;
     1105    pThis->IHostAudio.pfnStreamDestroy              = drvAudioVideoRecHA_StreamDestroy;
     1106    pThis->IHostAudio.pfnStreamNotifyDeviceChanged  = NULL;
     1107    pThis->IHostAudio.pfnStreamControl              = drvAudioVideoRecHA_StreamControl;
     1108    pThis->IHostAudio.pfnStreamGetReadable          = drvAudioVideoRecHA_StreamGetReadable;
     1109    pThis->IHostAudio.pfnStreamGetWritable          = drvAudioVideoRecHA_StreamGetWritable;
     1110    pThis->IHostAudio.pfnStreamGetPending           = NULL;
     1111    pThis->IHostAudio.pfnStreamGetStatus            = drvAudioVideoRecHA_StreamGetStatus;
     1112    pThis->IHostAudio.pfnStreamPlay                 = drvAudioVideoRecHA_StreamPlay;
     1113    pThis->IHostAudio.pfnStreamCapture              = drvAudioVideoRecHA_StreamCapture;
    11131114
    11141115    /*
  • trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp

    r88724 r88761  
    722722    pDrvIns->IBase.pfnQueryInterface = drvAudioVrdeQueryInterface;
    723723    /* IHostAudio */
    724     pThis->IHostAudio.pfnGetConfig         = drvAudioVrdeHA_GetConfig;
    725     pThis->IHostAudio.pfnGetDevices        = NULL;
    726     pThis->IHostAudio.pfnGetStatus         = drvAudioVrdeHA_GetStatus;
    727     pThis->IHostAudio.pfnStreamCreate      = drvAudioVrdeHA_StreamCreate;
    728     pThis->IHostAudio.pfnStreamDestroy     = drvAudioVrdeHA_StreamDestroy;
    729     pThis->IHostAudio.pfnStreamControl     = drvAudioVrdeHA_StreamControl;
    730     pThis->IHostAudio.pfnStreamGetReadable = drvAudioVrdeHA_StreamGetReadable;
    731     pThis->IHostAudio.pfnStreamGetWritable = drvAudioVrdeHA_StreamGetWritable;
    732     pThis->IHostAudio.pfnStreamGetPending  = NULL;
    733     pThis->IHostAudio.pfnStreamGetStatus   = drvAudioVrdeHA_StreamGetStatus;
    734     pThis->IHostAudio.pfnStreamPlay        = drvAudioVrdeHA_StreamPlay;
    735     pThis->IHostAudio.pfnStreamCapture     = drvAudioVrdeHA_StreamCapture;
     724    pThis->IHostAudio.pfnGetConfig                  = drvAudioVrdeHA_GetConfig;
     725    pThis->IHostAudio.pfnGetDevices                 = NULL;
     726    pThis->IHostAudio.pfnGetStatus                  = drvAudioVrdeHA_GetStatus;
     727    pThis->IHostAudio.pfnStreamCreate               = drvAudioVrdeHA_StreamCreate;
     728    pThis->IHostAudio.pfnStreamDestroy              = drvAudioVrdeHA_StreamDestroy;
     729    pThis->IHostAudio.pfnStreamNotifyDeviceChanged  = NULL;
     730    pThis->IHostAudio.pfnStreamControl              = drvAudioVrdeHA_StreamControl;
     731    pThis->IHostAudio.pfnStreamGetReadable          = drvAudioVrdeHA_StreamGetReadable;
     732    pThis->IHostAudio.pfnStreamGetWritable          = drvAudioVrdeHA_StreamGetWritable;
     733    pThis->IHostAudio.pfnStreamGetPending           = NULL;
     734    pThis->IHostAudio.pfnStreamGetStatus            = drvAudioVrdeHA_StreamGetStatus;
     735    pThis->IHostAudio.pfnStreamPlay                 = drvAudioVrdeHA_StreamPlay;
     736    pThis->IHostAudio.pfnStreamCapture              = drvAudioVrdeHA_StreamCapture;
    736737
    737738    /*
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