Changeset 88732 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Apr 27, 2021 12:12:37 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r88731 r88732 240 240 /** Our audio connector interface. */ 241 241 PDMIAUDIOCONNECTOR IAudioConnector; 242 #ifdef VBOX_WITH_AUDIO_CALLBACKS243 242 /** Interface used by the host backend. */ 244 243 PDMIAUDIONOTIFYFROMHOST IAudioNotifyFromHost; 245 #endif246 244 /** Pointer to the driver instance. */ 247 245 PPDMDRVINS pDrvIns; … … 3046 3044 * PDMIAUDIONOTIFYFROMHOST interface implementation. * 3047 3045 *********************************************************************************************************************************/ 3048 #ifdef VBOX_WITH_AUDIO_CALLBACKS3049 3046 3050 3047 /** … … 3086 3083 } 3087 3084 3088 #endif /* VBOX_WITH_AUDIO_CALLBACKS */3089 3090 3085 3091 3086 /********************************************************************************************************************************* … … 3105 3100 PDMIBASE_RETURN_INTERFACE(pszIID, PDMIBASE, &pDrvIns->IBase); 3106 3101 PDMIBASE_RETURN_INTERFACE(pszIID, PDMIAUDIOCONNECTOR, &pThis->IAudioConnector); 3107 #ifdef VBOX_WITH_AUDIO_CALLBACKS3108 3102 PDMIBASE_RETURN_INTERFACE(pszIID, PDMIAUDIONOTIFYFROMHOST, &pThis->IAudioNotifyFromHost); 3109 #endif3110 3103 3111 3104 return NULL; … … 3575 3568 pThis->IAudioConnector.pfnStreamRead = drvAudioStreamRead; 3576 3569 pThis->IAudioConnector.pfnStreamCapture = drvAudioStreamCapture; 3577 #ifdef VBOX_WITH_AUDIO_CALLBACKS3578 3570 /* IAudioNotifyFromHost */ 3579 3571 pThis->IAudioNotifyFromHost.pfnNotifyDevicesChanged = drvAudioNotifyFromHost_NotifyDevicesChanged; 3580 #endif3581 3572 3582 3573 /*
Note:
See TracChangeset
for help on using the changeset viewer.