VirtualBox

Changeset 88849 in vbox


Ignore:
Timestamp:
May 3, 2021 7:50:41 PM (4 years ago)
Author:
vboxsync
Message:

Audio devices: Request power-off notifications before the drivers to make sure they are still working when cleaning up streams and such. bugref:9890

Location:
trunk/src/VBox/Devices/Audio
Files:
3 edited

Legend:

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

    r88693 r88849  
    54025402    /* .uReserved0 = */             0,
    54035403    /* .szName = */                 "hda",
    5404     /* .fFlags = */                 PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_RZ | PDM_DEVREG_FLAGS_NEW_STYLE,
     5404    /* .fFlags = */                 PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_RZ | PDM_DEVREG_FLAGS_NEW_STYLE
     5405                                    | PDM_DEVREG_FLAGS_FIRST_POWEROFF_NOTIFICATION /* stream clearnup with working drivers */,
    54055406    /* .fClass = */                 PDM_DEVREG_CLASS_AUDIO,
    54065407    /* .cMaxInstances = */          1,
  • trunk/src/VBox/Devices/Audio/DevIchAc97.cpp

    r88692 r88849  
    45174517    /* .uReserved0 = */             0,
    45184518    /* .szName = */                 "ichac97",
    4519     /* .fFlags = */                 PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_RZ | PDM_DEVREG_FLAGS_NEW_STYLE,
     4519    /* .fFlags = */                 PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_RZ | PDM_DEVREG_FLAGS_NEW_STYLE
     4520                                    | PDM_DEVREG_FLAGS_FIRST_POWEROFF_NOTIFICATION /* stream clearnup with working drivers */,
    45204521    /* .fClass = */                 PDM_DEVREG_CLASS_AUDIO,
    45214522    /* .cMaxInstances = */          1,
  • trunk/src/VBox/Devices/Audio/DevSB16.cpp

    r88807 r88849  
    33623362    /* .uReserved0 = */             0,
    33633363    /* .szName = */                 "sb16",
    3364     /* .fFlags = */                 PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_NEW_STYLE,
     3364    /* .fFlags = */                 PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_NEW_STYLE
     3365                                    | PDM_DEVREG_FLAGS_FIRST_POWEROFF_NOTIFICATION /* stream clearnup with working drivers */,
    33653366    /* .fClass = */                 PDM_DEVREG_CLASS_AUDIO,
    33663367    /* .cMaxInstances = */          1,
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