Commit 9aa299b
authored
[MMIXER] Don't stop audio devices enumeration when one or more of them failed to initialize (reactos#7863)
Skip unsuccessfully initialized devices and continue enumeration until all of devices are enumerated.
Patch by Johannes Anderwald with additional improvements from me.
This fixes 0 audio devices detected for HD audio controllers (e. g., Realtek), and hence allows to properly detect all available devices and play the sound with MMixer routines enabled (they are currently default).
Tested personally with Realtek HD Audio driver version R2.74 for Windows XP/Server 2003 in pair with hdaudbus.sys from Windows Vista SP2 on real hardware.
CORE-172851 parent 2ec3a19 commit 9aa299b
1 file changed
+11
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
817 | 817 | | |
818 | 818 | | |
819 | 819 | | |
820 | | - | |
821 | | - | |
822 | | - | |
823 | | - | |
824 | | - | |
| 820 | + | |
| 821 | + | |
825 | 822 | | |
826 | 823 | | |
827 | 824 | | |
| |||
834 | 831 | | |
835 | 832 | | |
836 | 833 | | |
837 | | - | |
838 | | - | |
839 | | - | |
840 | 834 | | |
841 | | - | |
842 | | - | |
843 | | - | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
844 | 838 | | |
845 | 839 | | |
846 | 840 | | |
847 | 841 | | |
848 | 842 | | |
849 | 843 | | |
850 | | - | |
851 | | - | |
| 844 | + | |
| 845 | + | |
852 | 846 | | |
853 | | - | |
854 | | - | |
855 | | - | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
856 | 850 | | |
857 | 851 | | |
858 | 852 | | |
859 | 853 | | |
| 854 | + | |
860 | 855 | | |
861 | 856 | | |
862 | 857 | | |
| |||
0 commit comments