Changeset 57054 in vbox
- Timestamp:
- Jul 22, 2015 11:38:49 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r56648 r57054 1761 1761 static DECLCALLBACK(void) drvAudioPowerOff(PPDMDRVINS pDrvIns) 1762 1762 { 1763 drvAudioStateHandler(pDrvIns, PDMAUDIOSTREAMCMD_DISABLE);1764 }1765 1766 /**1767 * Destructs an audio driver instance.1768 *1769 * Most VM resources are freed by the VM. This callback is provided so that any non-VM1770 * resources can be freed correctly.1771 *1772 * @param pDrvIns The driver instance data.1773 */1774 static DECLCALLBACK(void) drvAudioDestruct(PPDMDRVINS pDrvIns)1775 {1776 1763 LogFlowFuncEnter(); 1777 1764 PDMDRV_CHECK_VERSIONS_RETURN_VOID(pDrvIns); 1778 1765 1779 1766 PDRVAUDIO pThis = PDMINS_2_DATA(pDrvIns, PDRVAUDIO); 1767 1768 if (!pThis->pHostDrvAudio) 1769 return; 1780 1770 1781 1771 /* Tear down all host output streams. */ … … 1917 1907 drvAudioConstruct, 1918 1908 /* pfnDestruct */ 1919 drvAudioDestruct,1909 NULL, 1920 1910 /* pfnRelocate */ 1921 1911 NULL,
Note:
See TracChangeset
for help on using the changeset viewer.